Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
b4687ad
try upgrade to 2.2preview2 of .net core
bergmeister Oct 6, 2018
56ba0a1
fix version number of sdk (needs to include build number)
bergmeister Oct 6, 2018
b961bc2
[feature] set runtimeversion and revert changes made to alpine docker…
bergmeister Oct 6, 2018
04f8a7d
[feature] Fix NuGet package version of WebListener.csproj test projec…
bergmeister Oct 6, 2018
3571629
[feature] Fix WiX file components due to newer versions of DLLS
bergmeister Oct 6, 2018
0a61826
trigger ci
bergmeister Oct 6, 2018
97a67be
The dotnet-xunit test runner does not work with .Net Core 2.2 and due…
bergmeister Oct 6, 2018
9c48a7a
I forgot that trx format ix VsTest, not NUnit
bergmeister Oct 6, 2018
91d1c82
[feature]
bergmeister Oct 6, 2018
17fab9b
[feature] Fix parameter name due to rename
bergmeister Oct 7, 2018
5750e86
[feature] revert to use xml test logger again
bergmeister Oct 7, 2018
b75514a
[feature] forgot some folder->file reverts
bergmeister Oct 7, 2018
e092441
[feature] Update Markdig.Signed NuGet package to 0.15.4 due to new re…
bergmeister Oct 7, 2018
699afb8
[feature] retrigger CI due to sporadic failure
bergmeister Oct 7, 2018
e8d76e2
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister Oct 9, 2018
d4f2fa4
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister Oct 10, 2018
7de084d
fix merge conflict error to have no diff again in the upstreamed xuni…
bergmeister Oct 10, 2018
533b0e0
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister Oct 11, 2018
96feacf
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister Oct 16, 2018
faa0d19
Merge branch 'master' of https://github.com/PowerShell/PowerShell int…
bergmeister Oct 22, 2018
fda3fb9
Update to .Net Core 2.2-preview3
bergmeister Oct 22, 2018
8a13d7c
[feature] udpate test project version and appveyor cache
bergmeister Oct 22, 2018
52de7b7
[feature] Fix MSI installer by updating to the new version of mscorda…
bergmeister Oct 22, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions PowerShell.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
<Company>Microsoft Corporation</Company>
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>

<TargetFramework>netcoreapp2.1</TargetFramework>
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
<TargetFramework>netcoreapp2.2</TargetFramework>
<RuntimeFrameworkVersion>2.2.0-preview3-27014-02</RuntimeFrameworkVersion>
<LangVersion>Latest</LangVersion>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ environment:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
Purpose: ElevatedPesterTests_xUnit_Packaging

# cache version - netcoreapp.2.1-sdk.2.1.403
# cache version - netcoreapp2.2.100-preview3-009430
cache:
- '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> appveyor.yml'

Expand Down
12 changes: 6 additions & 6 deletions assets/files.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -2017,11 +2017,11 @@
<File Id="fil3779A5AC06BDD2A3AB680DBA83FEAFD1" KeyPath="yes" Source="$(env.ProductSourcePath)\zh-Hant\Microsoft.CodeAnalysis.resources.dll" />
</Component>
</Directory>
<Component Id="cmp7641086BD8244AFAAA244FAB40CE60BC" Guid="{2dc3fc9a-086e-4bae-85a4-03322c6a682f}">
<File Id="fil65BC2FC2686842A4B38CCBF9F54B2DD3" KeyPath="yes" Source="$(env.ProductSourcePath)\sos_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.26919.02.dll" />
<Component Id="cmp42388D37FC414982A91ED7273B600826" Guid="{52945485-ba0e-4b5a-bca7-43e679a7ead0}">
<File Id="filE46B309FAD834FD1844C9120E1799706" KeyPath="yes" Source="$(env.ProductSourcePath)\sos_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.27014.03.dll" />
</Component>
<Component Id="cmp2B1B284B631547EEB86D29E84D2E9611" Guid="{1d6e6de9-0af0-4669-9cf8-d731d43f3e8a}">
<File Id="fil1B414FC15B084BD9B4F5B1ACC5EC5084" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.26919.02.dll" />
<Component Id="cmpB73D31515A5C4A11AFD5E4131784B3BB" Guid="{fc542315-f042-4557-85b4-378a6adce57a}">
<File Id="fil0A6BFAD40A5E44D4A662691C96CBDE60" KeyPath="yes" Source="$(env.ProductSourcePath)\mscordaccore_$(var.FileArchitecture)_$(var.FileArchitecture)_4.6.27014.03.dll" />
</Component>
</DirectoryRef>
</Fragment>
Expand Down Expand Up @@ -2669,8 +2669,8 @@
<ComponentRef Id="cmpC0582B8F392548248FA3DE3080069F68" />
<ComponentRef Id="cmp3D4940617EE5426384A6BF086E79CC63" />
<ComponentRef Id="cmpF13D9769FBE945B09326776DC9877740" />
<ComponentRef Id="cmp7641086BD8244AFAAA244FAB40CE60BC" />
<ComponentRef Id="cmp2B1B284B631547EEB86D29E84D2E9611" />
<ComponentRef Id="cmp42388D37FC414982A91ED7273B600826" />
<ComponentRef Id="cmpB73D31515A5C4A11AFD5E4131784B3BB" />
<ComponentRef Id="cmpD495CAB0DC4146199E0475F16EFCBE66" />
</ComponentGroup>
</Fragment>
Expand Down
8 changes: 4 additions & 4 deletions build.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $script:TestModulePathSeparator = [System.IO.Path]::PathSeparator
$script:TestModuleDirPath = Join-Path ([System.IO.Path]::GetTempPath()) 'PwshTestModules'
$null = New-Item -Force -ItemType Directory -Path $script:TestModuleDirPath

$dotnetCLIChannel = "release"
$dotnetCLIChannel = 'preview' # TODO: Change this to 'release' once .Net Core 2.2 goes RTM
$dotnetCLIRequiredVersion = $(Get-Content $PSScriptRoot/global.json | ConvertFrom-Json).Sdk.Version

# Track if tags have been sync'ed
Expand Down Expand Up @@ -386,7 +386,7 @@ Fix steps:
Pop-Location
}

# publish netcoreapp2.1 reference assemblies
# publish netcoreapp2.2 reference assemblies
try {
Push-Location "$PSScriptRoot/src/TypeCatalogGen"
$refAssemblies = Get-Content -Path $incFileName | Where-Object { $_ -like "*microsoft.netcore.app*" } | ForEach-Object { $_.TrimEnd(';') }
Expand Down Expand Up @@ -586,7 +586,7 @@ function New-PSOptions {
[ValidateSet("Debug", "Release", "CodeCoverage", '')]
[string]$Configuration,

[ValidateSet("netcoreapp2.1")]
[ValidateSet("netcoreapp2.2")]
[string]$Framework,

# These are duplicated from Start-PSBuild
Expand Down Expand Up @@ -639,7 +639,7 @@ function New-PSOptions {
Write-Verbose "Top project directory is $Top"

if (-not $Framework) {
$Framework = "netcoreapp2.1"
$Framework = "netcoreapp2.2"
Write-Verbose "Using framework '$Framework'"
}

Expand Down
2 changes: 1 addition & 1 deletion docs/building/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Start-PSBuild
Congratulations! If everything went right, PowerShell is now built.
The `Start-PSBuild` script will output the location of the executable:

`./src/powershell-unix/bin/Debug/netcoreapp2.1/linux-x64/publish/pwsh`.
`./src/powershell-unix/bin/Debug/netcoreapp2.2/linux-x64/publish/pwsh`.

You should now be running the PowerShell Core that you just built, if your run the above executable.
You can run our cross-platform Pester tests with `Start-PSPester`, and our xUnit tests with `Start-PSxUnit`.
2 changes: 1 addition & 1 deletion docs/building/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ We cannot do this for you in the build module due to #[847][].

Start a PowerShell session by running `pwsh`, and then use `Start-PSBuild` from the module.

After building, PowerShell will be at `./src/powershell-unix/bin/Debug/netcoreapp2.1/osx-x64/publish/pwsh`.
After building, PowerShell will be at `./src/powershell-unix/bin/Debug/netcoreapp2.2/osx-x64/publish/pwsh`.
4 changes: 2 additions & 2 deletions docs/building/windows-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,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/netcoreapp2.1/win7-x64/publish/pwsh.exe`.
Congratulations! If everything went right, PowerShell is now built and executable as `./src/powershell-win-core/bin/Debug/netcoreapp2.2/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 `netcoreapp2.1`, runtime identifier is `win7-x64` by default,
framework is `netcoreapp2.2`, 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)`.
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "2.1.403"
"version": "2.2.100-preview3-009430"
}
}
4 changes: 2 additions & 2 deletions test/Test.Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<Company>Microsoft Corporation</Company>
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>

<TargetFramework>netcoreapp2.1</TargetFramework>
<RuntimeFrameworkVersion>2.1.5</RuntimeFrameworkVersion>
<TargetFramework>netcoreapp2.2</TargetFramework>
<RuntimeFrameworkVersion>2.2.0-preview3-27014-02</RuntimeFrameworkVersion>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
2 changes: 1 addition & 1 deletion test/tools/OpenCover/OpenCover.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ function Invoke-OpenCover
[parameter()]$OutputLog = "$home/Documents/OpenCover.xml",
[parameter()]$TestPath = "${script:psRepoPath}/test/powershell",
[parameter()]$OpenCoverPath = "$home/OpenCover",
[parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/netcoreapp2.1/win7-x64/publish",
[parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/netcoreapp2.2/win7-x64/publish",
[parameter()]$PesterLogElevated = "$HOME/Documents/TestResultsElevated.xml",
[parameter()]$PesterLogUnelevated = "$HOME/Documents/TestResultsUnelevated.xml",
[parameter()]$PesterLogFormat = "NUnitXml",
Expand Down
2 changes: 1 addition & 1 deletion test/tools/WebListener/WebListener.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.5" />
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0-preview3-35497" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions tools/packaging/packaging.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,14 @@ function Start-PSPackage {
-not $Script:Options -or ## Start-PSBuild hasn't been executed yet
-not $PSModuleRestoreCorrect -or ## Last build didn't specify '-PSModuleRestore' correctly
$Script:Options.Configuration -ne $Configuration -or ## Last build was with configuration other than 'Release'
$Script:Options.Framework -ne "netcoreapp2.1" ## Last build wasn't for CoreCLR
$Script:Options.Framework -ne "netcoreapp2.2" ## Last build wasn't for CoreCLR
} else {
-not $Script:Options -or ## Start-PSBuild hasn't been executed yet
-not $crossGenCorrect -or ## Last build didn't specify '-CrossGen' correctly
-not $PSModuleRestoreCorrect -or ## Last build didn't specify '-PSModuleRestore' correctly
$Script:Options.Runtime -ne $Runtime -or ## Last build wasn't for the required RID
$Script:Options.Configuration -ne $Configuration -or ## Last build was with configuration other than 'Release'
$Script:Options.Framework -ne "netcoreapp2.1" ## Last build wasn't for CoreCLR
$Script:Options.Framework -ne "netcoreapp2.2" ## Last build wasn't for CoreCLR
}

# Make sure the most recent build satisfies the package requirement
Expand Down Expand Up @@ -2441,7 +2441,7 @@ function New-MSIPatch
# This example shows how to produce a Debug-x64 installer for development purposes.
cd $RootPathOfPowerShellRepo
Import-Module .\build.psm1; Import-Module .\tools\packaging\packaging.psm1
New-MSIPackage -Verbose -ProductCode (New-Guid) -ProductSourcePath '.\src\powershell-win-core\bin\Debug\netcoreapp2.1\win7-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
New-MSIPackage -Verbose -ProductCode (New-Guid) -ProductSourcePath '.\src\powershell-win-core\bin\Debug\netcoreapp2.2\win7-x64\publish' -ProductTargetArchitecture x64 -ProductVersion '1.2.3'
#>
function New-MSIPackage
{
Expand Down
2 changes: 1 addition & 1 deletion tools/packaging/packaging.strings.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ NuspecTemplate = @'
<files include="**/*" buildAction="None" copyToOutput="true" flatten="false" />
</contentFiles>
<dependencies>
<group targetFramework=".NETCoreApp2.1"></group>
<group targetFramework=".netcoreapp2.2"></group>
</dependencies>
</metadata>
</package>
Expand Down