Skip to content

Commit 9d63761

Browse files
authored
update tfm to net5.0 (#1097)
* update tfm to net5.0 * use latest ubuntu and mac images * skip failing test
1 parent 3e11e14 commit 9d63761

File tree

15 files changed

+25
-25
lines changed

15 files changed

+25
-25
lines changed

.vsts-ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ stages:
110110
PathtoPublish: '$(Build.SourcesDirectory)\artifacts\SymStore\$(_BuildConfig)'
111111
ArtifactName: 'NativeSymbols'
112112

113-
- job: Ubuntu_16_04
114-
displayName: 'Ubuntu 16.04'
113+
- job: Ubuntu
114+
displayName: Ubuntu
115115
pool:
116-
name: Hosted Ubuntu 1604
116+
vmImage: ubuntu-latest
117117
strategy:
118118
matrix:
119119
${{ if in(variables['Build.Reason'], 'PullRequest') }}:
@@ -133,11 +133,10 @@ stages:
133133
--prepareMachine
134134
displayName: Build
135135

136-
- job: OSX_10_13
137-
displayName: 'OSX'
136+
- job: MacOS
137+
displayName: MacOS
138138
pool:
139-
name: Hosted macOS
140-
vmImage: macOS-10.13
139+
vmImage: macOS-latest
141140
strategy:
142141
matrix:
143142
${{ if in(variables['Build.Reason'], 'PullRequest') }}:

docs/src/Binding/Binding.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<LangVersion>preview</LangVersion>
77
</PropertyGroup>
88

global.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"tools": {
3-
"dotnet": "3.1.301",
3+
"dotnet": "5.0.101",
44
"vs": {
5-
"version": "16.0"
6-
}
5+
"version": "16.8"
6+
},
7+
"xcopy-msbuild": "16.8.0-preview2.1"
78
},
89
"msbuild-sdks": {
910
"Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.20573.2"

samples/DragonFruit/DragonFruit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
</PropertyGroup>
88

samples/HostingPlayground/HostingPlayground.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<LangVersion>8</LangVersion>
88
<NoWarn>$(NoWarn);CS1591</NoWarn>

samples/RenderingPlayground/RenderingPlayground.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp3.1</TargetFramework>
5+
<TargetFramework>net5.0</TargetFramework>
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>
77
<LangVersion>latest</LangVersion>
88
<!--<StartupObject>RenderingPlayground.Program</StartupObject>-->

src/System.CommandLine.Benchmarks/System.CommandLine.Benchmarks.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<UseSharedCompilation>false</UseSharedCompilation>
1010

1111
<!-- Supported target frameworks -->
12-
<TargetFrameworks Condition="'$(TargetFrameworks)' == '' AND '$(OS)' == 'Windows_NT'">net461;netcoreapp3.1;</TargetFrameworks>
13-
<TargetFrameworks Condition="'$(TargetFrameworks)' == ''">netcoreapp3.1;</TargetFrameworks>
12+
<TargetFrameworks Condition="'$(TargetFrameworks)' == '' AND '$(OS)' == 'Windows_NT'">net461;net5.0;</TargetFrameworks>
13+
<TargetFrameworks Condition="'$(TargetFrameworks)' == ''">net5.0;</TargetFrameworks>
1414

1515
<!-- Use the latest C# compiler features -->
1616
<LangVersion>latest</LangVersion>

src/System.CommandLine.DragonFruit.Tests/System.CommandLine.DragonFruit.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp3.1</TargetFramework>
3+
<TargetFramework>net5.0</TargetFramework>
44
<StartupObject>AutoGeneratedProgram</StartupObject>
55
<!-- Ensure that an XML doc file is emitted to supply command line help -->
66
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/System.CommandLine.Hosting.Tests/System.CommandLine.Hosting.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
4+
<TargetFrameworks>net5.0</TargetFrameworks>
55
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net462</TargetFrameworks>
66
<LangVersion>latest</LangVersion>
77
<IsPackable>false</IsPackable>
@@ -17,7 +17,7 @@
1717
<PackageReference Include="FluentAssertions" Version="5.10.3" />
1818
</ItemGroup>
1919

20-
<ItemGroup Condition="'$(TargetFramework)'!='netcoreapp3.1'">
20+
<ItemGroup Condition="'$(TargetFramework)'!='net5.0'">
2121
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="2.2.0" />
2222
</ItemGroup>
2323

src/System.CommandLine.Rendering.Tests/System.CommandLine.Rendering.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
4+
<TargetFramework>net5.0</TargetFramework>
55
<LangVersion>latest</LangVersion>
66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

0 commit comments

Comments
 (0)