|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | | - <PropertyGroup> |
4 | | - <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\..\src\Swashbuckle.AspNetCore.Swagger\Swashbuckle.AspNetCore.Swagger.snk</AssemblyOriginatorKeyFile> |
5 | | - <NoWarn>$(NoWarn);8002</NoWarn> |
6 | | - <OutputType>Exe</OutputType> |
7 | | - <SignAssembly>true</SignAssembly> |
8 | | - <TargetFrameworks>$(DefaultTargetFrameworks)</TargetFrameworks> |
9 | | - </PropertyGroup> |
10 | | - |
11 | | - <ItemGroup> |
12 | | - <ProjectReference Include="..\WebSites\**\*.csproj" /> |
13 | | - <ProjectReference Remove="..\WebSites\TestFirst.IntegrationTests\TestFirst.IntegrationTests.csproj" /> |
14 | | - </ItemGroup> |
15 | | - |
16 | | - <ItemGroup> |
17 | | - <PackageReference Include="MartinCostello.Logging.XUnit.v3" /> |
18 | | - <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" /> |
19 | | - <PackageReference Include="Microsoft.AspNetCore.TestHost" /> |
20 | | - <PackageReference Include="Microsoft.Kiota.Bundle" /> |
21 | | - <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
22 | | - <PackageReference Include="Microsoft.OpenApi.YamlReader" /> |
23 | | - <PackageReference Include="Microsoft.Playwright" /> |
24 | | - <PackageReference Include="NJsonSchema" /> |
25 | | - <PackageReference Include="Verify.XunitV3" /> |
26 | | - <PackageReference Include="xunit.runner.visualstudio" /> |
27 | | - <PackageReference Include="xunit.v3.mtp-off" /> |
28 | | - </ItemGroup> |
29 | | - |
30 | | - <ItemGroup> |
31 | | - <AssemblyMetadata Include="ProjectRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))" /> |
32 | | - <AssemblyMetadata Include="SolutionRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..'))" /> |
33 | | - <Compile Remove="snapshots\**\*.cs" /> |
34 | | - </ItemGroup> |
35 | | - |
36 | | - <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))"> |
37 | | - <PackageReference Include="Microsoft.Build" /> |
38 | | - <PackageReference Include="MSBuild.ProjectCreation" /> |
39 | | - <PackageReference Include="NSwag.CodeGeneration.CSharp" /> |
40 | | - <ProjectReference Include="..\Swashbuckle.AspNetCore.TestSupport\Swashbuckle.AspNetCore.TestSupport.csproj" /> |
41 | | - </ItemGroup> |
42 | | - |
43 | | - <ItemGroup> |
44 | | - <EmbeddedResource Include="../../src/Swashbuckle.AspNetCore.SwaggerUI/node_modules/swagger-ui-dist/**/*" Exclude="**/*/index.html;**/*/index.js;**/*/*.map;**/*/*.json;**/*/*.md;**/*/swagger-ui-es-*;**/*/LICENSE;**/*/NOTICE" Link="Embedded/SwaggerUI/%(RecursiveDir)%(FileName)%(Extension)" /> |
45 | | - <EmbeddedResource Include="../../src/Swashbuckle.AspNetCore.ReDoc/node_modules/redoc/bundles/redoc.standalone.js" Link="Embedded/ReDoc/%(RecursiveDir)%(FileName)%(Extension)" /> |
46 | | - </ItemGroup> |
47 | | - |
48 | | - <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))"> |
49 | | - <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="8.0.22" /> |
50 | | - <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="8.0.22" /> |
51 | | - </ItemGroup> |
52 | | - |
53 | | - <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net9.0'))"> |
54 | | - <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="9.0.11" /> |
55 | | - <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="9.0.11" /> |
56 | | - </ItemGroup> |
57 | | - |
58 | | - <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))"> |
59 | | - <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="10.0.0" /> |
60 | | - <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="10.0.0" /> |
61 | | - </ItemGroup> |
62 | | - |
63 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)..\..\src\Swashbuckle.AspNetCore.Swagger\Swashbuckle.AspNetCore.Swagger.snk</AssemblyOriginatorKeyFile> |
| 5 | + <NoWarn>$(NoWarn);8002</NoWarn> |
| 6 | + <OutputType>Exe</OutputType> |
| 7 | + <SignAssembly>true</SignAssembly> |
| 8 | + <TargetFrameworks>$(DefaultTargetFrameworks)</TargetFrameworks> |
| 9 | + </PropertyGroup> |
| 10 | + |
| 11 | + <ItemGroup> |
| 12 | + <ProjectReference Include="..\WebSites\**\*.csproj" /> |
| 13 | + <ProjectReference Remove="..\WebSites\TestFirst.IntegrationTests\TestFirst.IntegrationTests.csproj" /> |
| 14 | + </ItemGroup> |
| 15 | + |
| 16 | + <ItemGroup> |
| 17 | + <PackageReference Include="MartinCostello.Logging.XUnit.v3" /> |
| 18 | + <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" /> |
| 19 | + <PackageReference Include="Microsoft.AspNetCore.TestHost" /> |
| 20 | + <PackageReference Include="Microsoft.Kiota.Bundle" /> |
| 21 | + <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
| 22 | + <PackageReference Include="Microsoft.OpenApi.YamlReader" /> |
| 23 | + <PackageReference Include="Microsoft.Playwright" /> |
| 24 | + <PackageReference Include="NJsonSchema" /> |
| 25 | + <PackageReference Include="Verify.XunitV3" /> |
| 26 | + <PackageReference Include="xunit.runner.visualstudio" /> |
| 27 | + <PackageReference Include="xunit.v3.mtp-off" /> |
| 28 | + </ItemGroup> |
| 29 | + |
| 30 | + <ItemGroup> |
| 31 | + <AssemblyMetadata Include="ProjectRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))" /> |
| 32 | + <AssemblyMetadata Include="SolutionRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..'))" /> |
| 33 | + <Compile Remove="snapshots\**\*.cs" /> |
| 34 | + </ItemGroup> |
| 35 | + |
| 36 | + <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))"> |
| 37 | + <PackageReference Include="Microsoft.Build" /> |
| 38 | + <PackageReference Include="MSBuild.ProjectCreation" /> |
| 39 | + <PackageReference Include="NSwag.CodeGeneration.CSharp" /> |
| 40 | + <ProjectReference Include="..\Swashbuckle.AspNetCore.TestSupport\Swashbuckle.AspNetCore.TestSupport.csproj" /> |
| 41 | + </ItemGroup> |
| 42 | + |
| 43 | + <ItemGroup> |
| 44 | + <EmbeddedResource Include="../../src/Swashbuckle.AspNetCore.SwaggerUI/node_modules/swagger-ui-dist/**/*" Exclude="**/*/index.html;**/*/index.js;**/*/*.map;**/*/*.json;**/*/*.md;**/*/swagger-ui-es-*;**/*/LICENSE;**/*/NOTICE" Link="Embedded/SwaggerUI/%(RecursiveDir)%(FileName)%(Extension)" /> |
| 45 | + <EmbeddedResource Include="../../src/Swashbuckle.AspNetCore.ReDoc/node_modules/redoc/bundles/redoc.standalone.js" Link="Embedded/ReDoc/%(RecursiveDir)%(FileName)%(Extension)" /> |
| 46 | + </ItemGroup> |
| 47 | + |
| 48 | + <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))"> |
| 49 | + <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="8.0.22" /> |
| 50 | + <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="8.0.22" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net9.0'))"> |
| 54 | + <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="9.0.11" /> |
| 55 | + <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="9.0.11" /> |
| 56 | + </ItemGroup> |
| 57 | + |
| 58 | + <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))"> |
| 59 | + <PackageReference Update="Microsoft.AspNetCore.Mvc.Testing" VersionOverride="10.0.1" /> |
| 60 | + <PackageReference Update="Microsoft.AspNetCore.TestHost" VersionOverride="10.0.1" /> |
| 61 | + </ItemGroup> |
| 62 | + |
| 63 | +</Project> |
0 commit comments