Skip to content

Commit 99249d0

Browse files
author
Sergei Vorobev
committed
Update building instructions to use correct TOP directories
1 parent cfba753 commit 99249d0

4 files changed

Lines changed: 10 additions & 13 deletions

File tree

docs/building/linux.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Start-PSBuild
106106
Congratulations! If everything went right, PowerShell is now built.
107107
The `Start-PSBuild` script will output the location of the executable:
108108

109-
`./src/powershell/bin/Linux/netcoreapp1.0/ubuntu.14.04-x64/powershell`.
109+
`./src/powershell-unix/bin/Linux/netcoreapp1.0/ubuntu.14.04-x64/powershell`.
110110

111111
You should now be running the `powershell` that you just built, if your run the above executable.
112112
You can run our cross-platform Pester tests with `Start-PSPester`, and our xUnit tests with `Start-PSxUnit`.
@@ -129,7 +129,7 @@ make test
129129
popd
130130
```
131131

132-
This library will be emitted in the `src/powershell` project,
132+
This library will be emitted in the `src/powershell-unix` project,
133133
where `dotnet` consumes it as "content" and thus automatically deploys it.
134134

135135
Build the managed projects
@@ -141,7 +141,7 @@ The `--configuration Linux` flag is necessary to ensure that the preprocessor de
141141

142142
```sh
143143
dotnet restore
144-
cd src/powershell
144+
cd src/powershell-unix
145145
dotnet build --configuration Linux
146146
```
147147

docs/building/osx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,6 @@ download the `pkg` from our GitHub releases page using your browser, complete th
7676
start a `powershell` session, and use `Start-PSBuild` from the module.
7777

7878
The output directory will be slightly different because your runtime identifier is different.
79-
PowerShell will be at `./src/powershell/bin/Linux/netcoreapp1.0/osx.10.11-x64/powershell`,
79+
PowerShell will be at `./src/powershell-unix/bin/Linux/netcoreapp1.0/osx.10.11-x64/powershell`,
8080
or `osx.10.10` depending on your operating system version.
8181
Note that configration is still `Linux` because it would be silly to make yet another separate configuration when it's used soley to work-around a CLI issue.

docs/building/windows-core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Start-PSBuild
7272
```
7373

7474
Congratulations! If everything went right, PowerShell is now built and
75-
executable as `./src/powershell/bin/Debug/netcoreapp1.0/win10-x64/powershell`.
75+
executable as `./src/powershell-win-core/bin/Debug/netcoreapp1.0/win10-x64/powershell`.
7676

7777
This location is of the form
7878
`./[project]/bin/[configuration]/[framework]/[rid]/[binary name]`, and our

docs/building/windows-full.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,11 @@ Build using our module
4848
Use `Start-PSBuild -FullCLR` from the `build.psm1`
4949
module.
5050

51-
Because the `ConsoleHost` project (*not* the `Host` project) is a
52-
library and not an application (in the sense that .NET CLI does not
53-
emit a native executable using .NET Core's `corehost`), it targets the
54-
framework `netstandard1.6`, *not* `netcoreapp1.0`, and the build
55-
output will *not* have a runtime identifier in the path.
51+
The output location of `powershell.exe` will be
5652

57-
Thus the output location of `powershell.exe` will be
58-
`./src/Microsoft.PowerShell.ConsoleHost/bin/Debug/net451/powershell.exe`
53+
```
54+
.\src\powershell-win-full\bin\Debug\net451\win10-x64\publish\powershell.exe
55+
```
5956

6057
Build manually
6158
==============
@@ -99,7 +96,7 @@ This command has a reasonable default to run `powershell.exe` from the build out
9996
If you are building an unusual configuration (i.e. not `Debug`), you can explicitly specify path to the bin directory
10097

10198
```powershell
102-
Start-DevPowerShell -FullCLR -binDir .\src\Microsoft.PowerShell.ConsoleHost\bin\Debug\net451
99+
Start-DevPowerShell -FullCLR -binDir .\src\powershell-win-full\bin\Debug\net451\win10-x64\publish
103100
```
104101

105102
Or more programmatically:

0 commit comments

Comments
 (0)