mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 09:43:57 +08:00
Update build documentation to reflect .NET 6 (#15751)
This commit is contained in:
parent
f1b122588b
commit
4c958d8631
@ -59,11 +59,11 @@ Import-Module ./build.psm1
|
||||
Start-PSBuild
|
||||
```
|
||||
|
||||
Congratulations! If everything went right, PowerShell is now built and executable as `./src/powershell-win-core/bin/Debug/net5.0/win7-x64/publish/pwsh.exe`.
|
||||
Congratulations! If everything went right, PowerShell is now built and executable as `./src/powershell-win-core/bin/Debug/net6.0/win7-x64/publish/pwsh.exe`.
|
||||
|
||||
This location is of the form `./[project]/bin/[configuration]/[framework]/[rid]/publish/[binary name]`,
|
||||
and our project is `powershell`, configuration is `Debug` by default,
|
||||
framework is `net5.0`, runtime identifier is `win7-x64` by default,
|
||||
framework is `net6.0`, runtime identifier is `win7-x64` by default,
|
||||
and binary name is `pwsh`.
|
||||
The function `Get-PSOutput` will return the path to the executable;
|
||||
thus you can execute the development copy via `& (Get-PSOutput)`.
|
||||
|
Loading…
Reference in New Issue
Block a user