Skip to content

Commit 9e37dd3

Browse files
bergmeisterJamesWTruher
authored andcommitted
Upgrade from .Net Core SDK 1.1 to 2.1.4 (#854)
* Upgrade to netcore 2.0.5 runtime * add test build using netstandard 1.6 to test in CI that only supported APIs are being called. * PSv3Release configuration is not applicable to netstandard1.6 framework -> hardcode 'Release' for netstandard 1.6 test build
1 parent 9ea3810 commit 9e37dd3

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ Exit
8181

8282
### From Source
8383

84-
#### Requirements
85-
* [.NET Core 1.1.5 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/1.1.5.md)
84+
* [.NET Core 2.1.4 SDK](https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.5-download.md)
8685
* [PlatyPS 0.5.0 or greater](https://github.com/PowerShell/platyPS)
8786
* Optionally but recommended for development: [Visual Studio 2017](https://www.visualstudio.com/downloads/)
8887

appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,20 @@ install:
2828
}
2929
- ps: |
3030
# the legacy WMF4 image only has the old preview SDKs of dotnet
31-
if (-not ((dotnet --version).StartsWith('1.1')))
31+
if (-not ((dotnet --version).StartsWith('2.1.4')))
3232
{
3333
Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1
34-
.\dotnet-install.ps1 -Channel 1.1
34+
.\dotnet-install.ps1 -Version 2.1.4
3535
}
3636
3737
build_script:
3838
- ps: |
3939
$PSVersionTable
4040
Push-Location C:\projects\psscriptanalyzer
4141
dotnet --version
42+
# Test build using netstandard to test whether APIs are being called that are not available in .Net Core. Remove output afterwards.
43+
.\buildCoreClr.ps1 -Framework netstandard1.6 -Configuration Release -Build
44+
git clean -dfx
4245
C:\projects\psscriptanalyzer\buildCoreClr.ps1 -Framework net451 -Configuration $env:BuildConfiguration -Build
4346
C:\projects\psscriptanalyzer\build.ps1 -BuildDocs
4447
Pop-Location

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"Rules"
55
],
66
"sdk": {
7-
"version": "1.1.5"
7+
"version": "2.1.4"
88
}
99
}

0 commit comments

Comments
 (0)