File tree Expand file tree Collapse file tree
tests/PragmaticDotNetCodeRules.ArchTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk.Web" >
2-
3- <PropertyGroup >
4- <TargetFramework >net9.0</TargetFramework >
5- </PropertyGroup >
6-
7- <!-- Exclude test projects from the web project's default file globbing -->
8- <ItemGroup >
9- <Compile Remove =" tests\**" />
10- <Content Remove =" tests\**" />
11- <EmbeddedResource Remove =" tests\**" />
12- <None Remove =" tests\**" />
13- </ItemGroup >
14-
15- <ItemGroup >
16- <PackageReference Include =" Microsoft.AspNetCore.OpenApi" Version =" 9.0.11 " />
17- </ItemGroup >
18-
19- </Project >
1+ <Project Sdk =" Microsoft.NET.Sdk.Web" >
2+
3+ <PropertyGroup >
4+ <TargetFramework >net9.0</TargetFramework >
5+ </PropertyGroup >
6+
7+ <!-- Exclude test projects from the web project's default file globbing -->
8+ <ItemGroup >
9+ <Compile Remove =" tests\**" />
10+ <Content Remove =" tests\**" />
11+ <EmbeddedResource Remove =" tests\**" />
12+ <None Remove =" tests\**" />
13+ </ItemGroup >
14+
15+ <ItemGroup >
16+ <PackageReference Include =" Microsoft.AspNetCore.OpenApi" Version =" 9.0.14 " />
17+ </ItemGroup >
18+
19+ </Project >
Original file line number Diff line number Diff line change 1- <Project Sdk =" Microsoft.NET.Sdk" >
2-
3- <PropertyGroup >
4- <TargetFramework >net9.0</TargetFramework >
5- <IsPackable >false</IsPackable >
6- <IsTestProject >true</IsTestProject >
7- <!-- CA1707: Underscores in test method names are a standard convention -->
8- <NoWarn >$(NoWarn);CA1707</NoWarn >
9- </PropertyGroup >
10-
11- <ItemGroup >
12- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.12.0 " />
13- <PackageReference Include =" NetArchTest.Rules" Version =" 1.3.2" />
14- <PackageReference Include =" xunit" Version =" 2.9.3" />
15- <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2" />
16- </ItemGroup >
17-
18- <ItemGroup >
19- <ProjectReference Include =" ..\..\PragmaticDotNetCodeRules.csproj" />
20- </ItemGroup >
21-
22- </Project >
1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <TargetFramework >net9.0</TargetFramework >
5+ <IsPackable >false</IsPackable >
6+ <IsTestProject >true</IsTestProject >
7+ <!-- CA1707: Underscores in test method names are a standard convention -->
8+ <NoWarn >$(NoWarn);CA1707</NoWarn >
9+ </PropertyGroup >
10+
11+ <ItemGroup >
12+ <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.1 " />
13+ <PackageReference Include =" NetArchTest.Rules" Version =" 1.3.2" />
14+ <PackageReference Include =" xunit" Version =" 2.9.3" />
15+ <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.8.2" />
16+ </ItemGroup >
17+
18+ <ItemGroup >
19+ <ProjectReference Include =" ..\..\PragmaticDotNetCodeRules.csproj" />
20+ </ItemGroup >
21+
22+ </Project >
You can’t perform that action at this time.
0 commit comments