Skip to content

Commit

Permalink
build: 优化 MSBuild Condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fudiwei committed Jul 13, 2024
1 parent 4c79616 commit 6e15f86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.CSharp" Condition="'$(TargetFramework)' == 'net462'" />
<Reference Include="System.Web" Condition="'$(TargetFramework)' == 'net462'" />
<Reference Include="Microsoft.CSharp" Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'" />
<Reference Include="System.Web" Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 6e15f86

Please sign in to comment.