|
1 |
| -<Project Sdk="Microsoft.NET.Sdk"> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 |
|
3 |
| - <Import Project="..\Refit\targets\refit.props" /> |
| 3 | + <Import Project="..\Refit\targets\refit.props" /> |
4 | 4 |
|
5 |
| - <PropertyGroup> |
6 |
| - <TargetFrameworks>net6.0;net8.0</TargetFrameworks> |
7 |
| - <ImplicitUsings>enable</ImplicitUsings> |
8 |
| - <Nullable>enable</Nullable> |
| 5 | + <PropertyGroup> |
| 6 | + <TargetFrameworks>net8.0;net9.0</TargetFrameworks> |
| 7 | + <ImplicitUsings>enable</ImplicitUsings> |
| 8 | + <Nullable>enable</Nullable> |
9 | 9 |
|
10 |
| - <IsPackable>false</IsPackable> |
11 |
| - <IsTestProject>true</IsTestProject> |
12 |
| - <NoWarn>$(NoWarn);CS1591;CA1819;CA2000;CA2007;CA1056;CA1707;CA1861;xUnit1031</NoWarn> |
13 |
| - </PropertyGroup> |
| 10 | + <IsPackable>false</IsPackable> |
| 11 | + <IsTestProject>true</IsTestProject> |
| 12 | + <NoWarn>$(NoWarn);CS1591;CA1819;CA2000;CA2007;CA1056;CA1707;CA1861;xUnit1031</NoWarn> |
| 13 | + </PropertyGroup> |
| 14 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net9.0'))"> |
| 15 | + <PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="9.0.3" /> |
| 16 | + </ItemGroup> |
14 | 17 |
|
15 |
| - <ItemGroup> |
16 |
| - <PackageReference Include="coverlet.collector" Version="6.0.2" /> |
17 |
| - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.12.0" /> |
18 |
| - <PackageReference Include="System.Formats.Asn1" Version="8.0.1" /> |
19 |
| - <PackageReference Include="xunit" Version="2.9.2" /> |
20 |
| - <PackageReference Include="xunit.runner.visualstudio" Version="2.8.2" /> |
21 |
| - <PackageReference Include="System.Collections.Immutable" Version="8.0.0" /> |
22 |
| - <PackageReference Include="Verify.DiffPlex" Version="3.1.2" /> |
23 |
| - <PackageReference Include="Verify.SourceGenerators" Version="2.5.0" /> |
24 |
| - <PackageReference Include="Verify.Xunit" Version="27.1.0" /> |
25 |
| - <PackageReference Include="System.Reactive" Version="6.0.1" /> |
26 |
| - <PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="2.2.0" /> |
27 |
| - <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" /> |
28 |
| - <PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" /> |
29 |
| - <ProjectReference Include="..\Refit.Newtonsoft.Json\Refit.Newtonsoft.Json.csproj" /> |
30 |
| - <ProjectReference Include="..\Refit.Xml\Refit.Xml.csproj" /> |
31 |
| - <ProjectReference Include="..\InterfaceStubGenerator.Roslyn38\InterfaceStubGenerator.Roslyn38.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" /> |
32 |
| - <ProjectReference Include="..\InterfaceStubGenerator.Roslyn41\InterfaceStubGenerator.Roslyn41.csproj" /> |
33 |
| - <ProjectReference Include="..\Refit\Refit.csproj" /> |
34 |
| - </ItemGroup> |
| 18 | + <ItemGroup Condition="$(TargetFramework.StartsWith('net8.0'))"> |
| 19 | + <PackageReference Include="Microsoft.AspNetCore.WebUtilities" Version="8.0.14" /> |
| 20 | + </ItemGroup> |
| 21 | + <ItemGroup> |
| 22 | + <PackageReference Include="System.Formats.Asn1" Version="9.0.3" /> |
| 23 | + <PackageReference Include="coverlet.collector" Version="6.0.4" /> |
| 24 | + <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" /> |
| 25 | + <PackageReference Include="System.Text.RegularExpressions" Version="4.3.1" /> |
| 26 | + <PackageReference Include="xunit" Version="2.9.3" /> |
| 27 | + <PackageReference Include="xunit.runner.visualstudio" Version="3.0.2" /> |
| 28 | + <PackageReference Include="System.Collections.Immutable" Version="9.0.3" /> |
| 29 | + <PackageReference Include="Verify.DiffPlex" Version="3.1.2" /> |
| 30 | + <PackageReference Include="Verify.SourceGenerators" Version="2.5.0" /> |
| 31 | + <PackageReference Include="Verify.Xunit" Version="28.16.0" /> |
| 32 | + <PackageReference Include="System.Reactive" Version="6.0.1" /> |
| 33 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.11.0" /> |
| 34 | + <PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" Version="1.1.2" /> |
| 35 | + <ProjectReference Include="..\Refit.Newtonsoft.Json\Refit.Newtonsoft.Json.csproj" /> |
| 36 | + <ProjectReference Include="..\Refit.Xml\Refit.Xml.csproj" /> |
| 37 | + <ProjectReference Include="..\InterfaceStubGenerator.Roslyn38\InterfaceStubGenerator.Roslyn38.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="true" /> |
| 38 | + <ProjectReference Include="..\InterfaceStubGenerator.Roslyn41\InterfaceStubGenerator.Roslyn41.csproj" /> |
| 39 | + <ProjectReference Include="..\Refit\Refit.csproj" /> |
| 40 | + </ItemGroup> |
35 | 41 |
|
36 |
| - <ItemGroup> |
37 |
| - <None Include="..\Refit.GeneratorTests\_snapshots\**"> |
38 |
| - <Link>%(RecursiveDir)\resources\%(Filename)%(Extension)</Link> |
39 |
| - <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
40 |
| - </None> |
41 |
| - <Using Include="Xunit" /> |
42 |
| - </ItemGroup> |
| 42 | + <ItemGroup> |
| 43 | + <None Include="..\Refit.GeneratorTests\_snapshots\**"> |
| 44 | + <Link>%(RecursiveDir)\resources\%(Filename)%(Extension)</Link> |
| 45 | + <CopyToOutputDirectory>Always</CopyToOutputDirectory> |
| 46 | + </None> |
| 47 | + <Using Include="Xunit" /> |
| 48 | + </ItemGroup> |
| 49 | + |
| 50 | + <ItemGroup> |
| 51 | + <Folder Include="_snapshots\" /> |
| 52 | + </ItemGroup> |
43 | 53 |
|
44 |
| - <ItemGroup> |
45 |
| - <Folder Include="_snapshots\" /> |
46 |
| - </ItemGroup> |
47 | 54 | </Project>
|
0 commit comments