Skip to content

Commit 5bfa930

Browse files
committed
Updated build pipelines to use .net 6.0 rc2.0 #72
1 parent 8ad9bc4 commit 5bfa930

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,3 @@ Do not forget to include the following nuget packages in your Xunit project:
7070
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.1.10" />
7171
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.10" />
7272
```
73-
74-
## A note on .NET 5.0
75-
We are doing away with .NET 5.0 and instead we will be supporting .NET 6.0 once its first release version becomes available to the public.

azure-pipeline-PR.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ pool:
1313

1414
steps:
1515
- script: echo Build Number $(name)
16+
- task: UseDotNet@2
17+
displayName: 'Use .NET 6.0 sdk'
18+
inputs:
19+
packageType: sdk
20+
version: 6.0.100-rc.2.21505.57
21+
installationPath: $(Agent.ToolsDirectory)/dotnet
1622
- script: echo Started restoring the source code
1723
- task: DotNetCoreCLI@2
1824
displayName: 'Restoring'

azure-pipelines.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ pool:
1515

1616
steps:
1717
- script: echo Build Number $(name)
18+
- task: UseDotNet@2
19+
displayName: 'Use .NET 6.0 sdk'
20+
inputs:
21+
packageType: sdk
22+
version: 6.0.100-rc.2.21505.57
23+
installationPath: $(Agent.ToolsDirectory)/dotnet
1824
- script: echo Started restoring the source code
1925
- task: DotNetCoreCLI@2
2026
displayName: 'Restoring'

examples/Xunit.Microsoft.DependencyInjection.ExampleTests/Xunit.Microsoft.DependencyInjection.ExampleTests.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>net6.0</TargetFramework>
55

66
<IsPackable>false</IsPackable>
77
</PropertyGroup>

src/Xunit.Microsoft.DependencyInjection.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>netstandard2.1</TargetFramework>
4+
<TargetFramework>net6.0</TargetFramework>
55
</PropertyGroup>
66

77
<ItemGroup>

0 commit comments

Comments
 (0)