File tree Expand file tree Collapse file tree 7 files changed +21
-8
lines changed Expand file tree Collapse file tree 7 files changed +21
-8
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "sdk" : {
3
+ "version" : " 8.0.100" ,
4
+ "rollForward" : " latestMinor"
5
+ }
6
+ }
Original file line number Diff line number Diff line change @@ -19,12 +19,16 @@ jobs:
19
19
- name : Add MSBuild to PATH
20
20
uses : microsoft/setup-msbuild@v1
21
21
22
+ - name : Replace global.json
23
+ run : cp .github/workflows/.global.json global.json
24
+ shell : bash
25
+
22
26
- name : Install .NET SDK
23
27
uses : actions/setup-dotnet@v3
24
28
with :
25
29
dotnet-version : |
26
30
6.0.x
27
- 7 .0.x
31
+ 8 .0.x
28
32
29
33
- name : Get .NET information
30
34
run : dotnet --info
Original file line number Diff line number Diff line change @@ -22,12 +22,16 @@ jobs:
22
22
- name : Add MSBuild to PATH
23
23
uses : microsoft/setup-msbuild@v1
24
24
25
+ - name : Replace global.json
26
+ run : cp .github/workflows/.global.json global.json
27
+ shell : bash
28
+
25
29
- name : Install .NET SDK
26
30
uses : actions/setup-dotnet@v3
27
31
with :
28
32
dotnet-version : |
29
33
6.0.x
30
- 7 .0.x
34
+ 8 .0.x
31
35
32
36
- name : Get .NET information
33
37
run : dotnet --info
Original file line number Diff line number Diff line change 7
7
<Copyright >Copyright (c) .NET Foundation and Contributors.</Copyright >
8
8
<DebugType >embedded</DebugType >
9
9
<EmbedUntrackedSources >true</EmbedUntrackedSources >
10
- <LangVersion >latest </LangVersion >
10
+ <LangVersion >12.0 </LangVersion >
11
11
<MSBuildCopyContentTransitively >false</MSBuildCopyContentTransitively >
12
12
<PackageIcon >logo-512-transparent.png</PackageIcon >
13
13
<PackageLicenseExpression >MIT</PackageLicenseExpression >
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ if ($null -eq (Get-Command "dotnet" -ErrorAction Ignore)) {
21
21
}
22
22
23
23
$version = [Version ]$ ([regex ]::matches((& dotnet -- version), ' ^(\d+\.)?(\d+\.)?(\*|\d+)' ).value)
24
- if ($version.Major -lt 7 ) {
25
- throw " .NET SDK version ($version ) is too low; please install version 7 .0 or later"
24
+ if ($version.Major -lt 8 ) {
25
+ throw " .NET SDK version ($version ) is too low; please install version 8 .0 or later"
26
26
}
27
27
28
28
if ($null -eq (Get-Command " msbuild.exe" - ErrorAction Ignore)) {
Original file line number Diff line number Diff line change 5
5
<DebugSymbols >true</DebugSymbols >
6
6
<DebugType >portable</DebugType >
7
7
<GenerateAssemblyVersionAttribute >false</GenerateAssemblyVersionAttribute >
8
- <LangVersion >latest </LangVersion >
8
+ <LangVersion >12.0 </LangVersion >
9
9
<PackageId >$(MSBuildProjectName)</PackageId >
10
10
<VersionPrefix >99.99.99-dev</VersionPrefix >
11
11
<WarningsAsErrors >true</WarningsAsErrors >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <LangVersion >10.0</LangVersion >
5
4
<NoWarn >$(NoWarn);CS8002</NoWarn >
6
5
<Nullable >enable</Nullable >
7
6
<OutputType >Exe</OutputType >
8
- <TargetFramework >net6 .0</TargetFramework >
7
+ <TargetFramework >net8 .0</TargetFramework >
9
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
10
9
</PropertyGroup >
11
10
You can’t perform that action at this time.
0 commit comments