Skip to content

Commit 98891e4

Browse files
Fix tests
Un-conditional assembly metadata for TFM.
1 parent 7de500d commit 98891e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/Swashbuckle.AspNetCore.IntegrationTests/Swashbuckle.AspNetCore.IntegrationTests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31+
<AssemblyMetadata Include="ProjectRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))" />
32+
<AssemblyMetadata Include="SolutionRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..'))" />
3133
<Compile Remove="snapshots\**\*.cs" />
3234
</ItemGroup>
3335

3436
<ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net10.0'))">
35-
<AssemblyMetadata Include="ProjectRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))" />
36-
<AssemblyMetadata Include="SolutionRoot" Value="$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\..\..'))" />
3737
<PackageReference Include="Microsoft.Build" />
3838
<PackageReference Include="MSBuild.ProjectCreation" />
3939
<PackageReference Include="NSwag.CodeGeneration.CSharp" />

0 commit comments

Comments
 (0)