chore(Target): add version props (#4705)

This commit is contained in:
Argo Zhang 2024-11-19 21:15:46 -08:00 committed by GitHub
parent dc640a7268
commit a88f48080d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,8 @@
<Project>
<Import Project="Version.props"/>
<PropertyGroup>
<RunTargetFramework>net9.0</RunTargetFramework>
<TargetFramework>$(RunTargetFramework)</TargetFramework>
</PropertyGroup>

7
Version.props Normal file
View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<RunTargetFramework>net9.0</RunTargetFramework>
</PropertyGroup>
</Project>

View File

@ -1,5 +1,7 @@
<Project>
<Import Project="..\..\Version.props" />
<ItemGroup>
<PackageReference Include="AspNetCore.SassCompiler" Version="1.79.5" Condition="'$(Configuration)'=='Debug' and '$(TargetFramework)' == '$(RunTargetFramework)'" />
</ItemGroup>