Remove references to CoreConsoleHost from docs

The `src/powershell` project is the new host.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-05-27 16:20:52 -07:00
1 parent 0d172cb562
commit 2dcdc13dff
3 files changed
+20 -25

No files matched your search

+8 -11
View File
@@ -114,7 +114,7 @@ Start-PSBuild
Congratulations! If everything went right, PowerShell is now built. Congratulations! If everything went right, PowerShell is now built.
The `Start-PSBuild` script will output the location of the executable: The `Start-PSBuild` script will output the location of the executable:
`./src/Microsoft.PowerShell.CoreConsoleHost/bin/Linux/netcoreapp1.0/ubuntu.14.04-x64/powershell`. `./src/powershell/bin/Linux/netcoreapp1.0/ubuntu.14.04-x64/powershell`.
You can run our cross-platform Pester tests with `Start-PSPester`, and You can run our cross-platform Pester tests with `Start-PSPester`, and
our xUnit tests with `Start-PSxUnit`. our xUnit tests with `Start-PSxUnit`.
@@ -138,23 +138,20 @@ make test
popd popd
``` ```
This library will be emitted in the `src/Microsoft.PowerShell.CoreConsoleHost` This library will be emitted in the `src/powershell` project, where `dotnet`
project, where `dotnet` consumes it as "content" and thus consumes it as "content" and thus automatically deploys it.
automatically deploys it.
Build the managed projects Build the managed projects
-------------------------- --------------------------
The `Microsoft.PowerShell.CoreConsoleHost` project is the cross-platform host for The `powershell` project is the .NET Core PowerShell host. It is the top level
PowerShell targetting .NET Core. It is the top level project, so project, so `dotnet build` transitively builds all its dependencies, and emits a
`dotnet build` transitively builds all its dependencies, and emits a `powershell` executable. The `--configuration Linux` flag is necessary to ensure
`powershell` executable. The `--configuration Linux` flag is that the preprocessor definition `LINUX` is defined (see [issue #673][]).
necessary to ensure that the preprocessor definition `LINUX` is
defined (see [issue #673][]).
```sh ```sh
dotnet restore dotnet restore
cd src/Microsoft.PowerShell.CoreConsoleHost cd src/powershell
dotnet build --configuration Linux dotnet build --configuration Linux
``` ```
+1 -1
View File
@@ -78,7 +78,7 @@ module.
The output directory will be slightly different because your runtime The output directory will be slightly different because your runtime
identifier is different. PowerShell will be at identifier is different. PowerShell will be at
`./src/Microsoft.PowerShell.CoreConsoleHost/bin/Linux/netcoreapp1.0/osx.10.11-x64/powershell`, `./src/powershell/bin/Linux/netcoreapp1.0/osx.10.11-x64/powershell`,
or `osx.10.10` depending on your operating system version. Note that or `osx.10.10` depending on your operating system version. Note that
configration is still `Linux` because it would be silly to make yet configration is still `Linux` because it would be silly to make yet
another separate configuration when it's used soley to work-around a another separate configuration when it's used soley to work-around a
+11 -13
View File
@@ -71,22 +71,20 @@ Start-PSBuild
``` ```
Congratulations! If everything went right, PowerShell is now built and Congratulations! If everything went right, PowerShell is now built and
executable as `./src/Microsoft.PowerShell.CoreConsoleHost/bin/Debug/netcoreapp1.0/win10-x64/powershell`. executable as `./src/powershell/bin/Debug/netcoreapp1.0/win10-x64/powershell`.
This location is of the form This location is of the form
`./[project]/bin/[configuration]/[framework]/[rid]/[binary name]`, and `./[project]/bin/[configuration]/[framework]/[rid]/[binary name]`, and our
our project is `Microsoft.PowerShell.CoreConsoleHost`, configuration is `Debug` project is `powershell`, configuration is `Debug` by default, framework is
by default, framework is `netcoreapp1.0`, runtime identifier is `netcoreapp1.0`, runtime identifier is **probably** `win10-x64` (but will depend
**probably** `win10-x64` (but will depend on your operating system; on your operating system; don't worry, `dotnet --info` will tell you what it
don't worry, `dotnet --info` will tell you what it was), and binary was), and binary name is `powershell`. The function `Get-PSOutput` will return
name is `powershell`. The function `Get-PSOutput` will return the path the path to the executable; thus you can execute the development copy via `&
to the executable; thus you can execute the development copy via `&
(Get-PSOutput)`. (Get-PSOutput)`.
The `Microsoft.PowerShell.CoreConsoleHost` project is the cross-platform host for The `powershell` project is the .NET Core PowerShell host. It is the top level
PowerShell targetting .NET Core. It is the top level project, so project, so `dotnet build` transitively builds all its dependencies, and emits a
`dotnet build` transitively builds all its dependencies, and emits a `powershell` executable. The cross-platform host has built-in documentation via
`powershell` executable. The cross-platform host has built-in `--help`.
documentation via `--help`.
You can run our cross-platform Pester tests with `Start-PSPester`. You can run our cross-platform Pester tests with `Start-PSPester`.