Skip to content

Commit

Permalink
Merge pull request #641 from PowerShell/docs
Browse files Browse the repository at this point in the history
Update readme and known issues
  • Loading branch information
andyleejordan committed Mar 8, 2016
2 parents 5336083 + 2c649d5 commit 21401f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
8 changes: 1 addition & 7 deletions KNOWNISSUES.md
Expand Up @@ -22,16 +22,10 @@ the stub is also used with a `#if ETW` guard.

## xUnit

The xUnit tests cannot currently be run; we are working to integrate the
prototype .NET Core runner to re-enable them.
The xUnit tests can only be run on Linux.

## Console Output

The console output on Windows and under certain `TERM` environments on Linux
(`xterm` is known to work fine), the console scrolls badly. We believe this is
due to incomplete System.Console APIs, which have been fixed upstream and will
be updated when new packages drop.

Performance issues have been seen in some scenarios, such as nested SSH
sessions. We believe this is likely an issue with `Console.ReadKey()` and are
investigating.
Expand Down
17 changes: 13 additions & 4 deletions README.md
Expand Up @@ -61,7 +61,7 @@ non-Windows platforms). Install `dotnet` by following their [documentation][].

The version of .NET CLI is very important, you want a recent 1.0.0 beta
(**not** 1.0.1). The following instructions will install precisely
1.0.0.001517, though any 1.0.0 version *should* work.
1.0.0.001638, though any 1.0.0 version *should* work.

> Previous installations of DNX, `dnvm`, or older installations of .NET CLI
> can cause odd failures when running. Please check your version.
Expand Down Expand Up @@ -107,10 +107,11 @@ Invoke-WebRequest -Uri https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/sc
./install.ps1 -version 1.0.0.001638 -channel beta
```

Note:
>If you meet "Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Cci.ISymUnmanagedWriter5'", please install [Visual C++ Redistributable for Visual Studio 2015].
If you meet `Unable to cast COM object of type 'System.__ComObject' to
interface type 'Microsoft.Cci.ISymUnmanagedWriter5'`, please install
[Visual C++ Redistributable for Visual Studio 2015][redist].

[Visual C++ Redistributable for Visual Studio 2015]:https://www.microsoft.com/en-hk/download/details.aspx?id=48145
[redist]: https://www.microsoft.com/en-hk/download/details.aspx?id=48145

### OS X

Expand Down Expand Up @@ -148,6 +149,13 @@ dotnet restore
./build.ps1
```

### PowerShellGitHubDev

Alternatively, the `PowerShellGitHubDev.psm1` module contains a `Start-PSBuild`
function to build Core PowerShell on both Linux and Windows. This module can be
imported into the built-in PowerShell on Windows, and a self-hosting copy of
PowerShell can be installed using our packages under the releases tab.

## Running

If you encounter any problems, see the [known issues](KNOWNISSUES.md),
Expand All @@ -162,6 +170,7 @@ The local managed host has built-in documentation via `--help`.

### Windows

- set the module path `$env:PsModulePath = "$pwd\bin\Modules"`
- launch `./bin/powershell.exe`
- run tests with `./bin/powershell.exe -c "Invoke-Pester test/powershell"`

Expand Down

0 comments on commit 21401f8

Please sign in to comment.