File tree Expand file tree Collapse file tree 5 files changed +26
-17
lines changed
examples/Xunit.Microsoft.DependencyInjection.ExampleTests Expand file tree Collapse file tree 5 files changed +26
-17
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 1313
1414steps :
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'
Original file line number Diff line number Diff line change 1515
1616steps :
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'
Original file line number Diff line number Diff line change 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 >
1111 <PackageReference Include =" xunit" Version =" 2.4.1" />
1212 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.3" />
1313 <PackageReference Include =" coverlet.collector" Version =" 3.1.0" />
14- <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 3.1.20 " />
15- <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 3.1.20 " />
16- <PackageReference Include =" Microsoft.Extensions.Options" Version =" 3.1.20 " />
17- <PackageReference Include =" Microsoft.Extensions.Configuration.Binder" Version =" 3.1.20 " />
18- <PackageReference Include =" Microsoft.Extensions.Configuration.FileExtensions" Version =" 3.1.20 " />
19- <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 3.1.20 " />
20- <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 3.1.20 " />
14+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 6.0.0-rc.2.21480.5 " />
15+ <PackageReference Include =" Microsoft.Extensions.Configuration" Version =" 6.0.0-rc.2.21480.5 " />
16+ <PackageReference Include =" Microsoft.Extensions.Options" Version =" 6.0.0-rc.2.21480.5 " />
17+ <PackageReference Include =" Microsoft.Extensions.Configuration.Binder" Version =" 6.0.0-rc.2.21480.5 " />
18+ <PackageReference Include =" Microsoft.Extensions.Configuration.FileExtensions" Version =" 6.0.0-rc.2.21480.5 " />
19+ <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 6.0.0-rc.2.21480.5 " />
20+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 6.0.0-rc.2.21480.5 " />
2121 </ItemGroup >
2222
2323 <ItemGroup >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
22
33 <PropertyGroup >
4- <TargetFramework >netstandard2.1 </TargetFramework >
4+ <TargetFramework >net6.0 </TargetFramework >
55 </PropertyGroup >
66
77 <ItemGroup >
8- <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 3.1.20 " />
9- <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 3.1.20 " />
8+ <PackageReference Include =" Microsoft.Extensions.DependencyInjection.Abstractions" Version =" 6.0.0-rc.2.21480.5 " />
9+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 6.0.0-rc.2.21480.5 " />
1010 <PackageReference Include =" xunit.abstractions" Version =" 2.0.3" />
11- <PackageReference Include =" Microsoft.Extensions.Configuration.FileExtensions" Version =" 3.1.20 " />
12- <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 3.1.20 " />
11+ <PackageReference Include =" Microsoft.Extensions.Configuration.FileExtensions" Version =" 6.0.0-rc.2.21480.5 " />
12+ <PackageReference Include =" Microsoft.Extensions.Configuration.Json" Version =" 6.0.0-rc.2.21480.5 " />
1313 <PackageReference Include =" xunit.core" Version =" 2.4.1" />
1414 </ItemGroup >
1515 <ItemGroup >
You can’t perform that action at this time.
0 commit comments