Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<PackageVersion Include="FluentAssertions" Version="7.2.0" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
<PackageVersion Include="MSBuild.ProjectCreation" Version="15.0.0" />
<PackageVersion Include="Polyfill" Version="8.8.1" />
<PackageVersion Include="xunit.v3" Version="3.0.1" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.4" />
</ItemGroup>
Expand Down
17 changes: 15 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,20 @@ stages:
inputs:
packageType: sdk
useGlobalJson: true
displayName: 'Use .NET SDK'
displayName: 'Use .NET SDK (global.json)'

# Install SDKs needed for testing
- task: UseDotNet@2
inputs:
packageType: sdk
version: '8.x'
displayName: 'Use .NET SDK (8.x)'

- task: UseDotNet@2
inputs:
packageType: sdk
version: '9.x'
displayName: 'Use .NET SDK (9.x)'

- script: dotnet tool restore
displayName: Install dotnet tools
Expand Down Expand Up @@ -59,7 +72,7 @@ stages:
inputs:
packageType: sdk
useGlobalJson: true
displayName: 'Use .NET SDK'
displayName: 'Use .NET SDK (global.json)'

- script: dotnet tool restore
displayName: Install dotnet tools
Expand Down
5 changes: 3 additions & 2 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"sdk": {
"version": "9.0.100",
"rollForward": "major"
"version": "10.0.100-rc.1.25451.107",
"rollForward": "minor",
"allowPrerelease": true
},
"msbuild-sdks": {
"Microsoft.Build.NoTargets": "3.7.134",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<TargetFrameworks>net472;net8.0;net9.0;net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<OutputType>Exe</OutputType>

<IsTestProject>true</IsTestProject>
</PropertyGroup>
Expand All @@ -21,6 +23,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Polyfill">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>

<ItemGroup>
Expand Down