Skip to content

Commit 738318f

Browse files
committed
chore: 更改为字符串比较
1 parent 03863c6 commit 738318f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Version.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<Project>
22

3-
<PropertyGroup Condition="$(VisualStudioVersion) == 17.0">
3+
<PropertyGroup Condition="'$(VisualStudioVersion)' == '17.0'">
44
<RunTargetFramework>net9.0</RunTargetFramework>
55
<RunTargetFrameworks>net6.0;net7.0;net8.0;net9.0</RunTargetFrameworks>
66
</PropertyGroup>
77

8-
<PropertyGroup Condition="$(VisualStudioVersion) == 18.0">
8+
<PropertyGroup Condition="'$(VisualStudioVersion)' == '18.0'">
99
<RunTargetFramework>net10.0</RunTargetFramework>
1010
<RunTargetFrameworks>net6.0;net7.0;net8.0;net9.0;net10.0</RunTargetFrameworks>
1111
</PropertyGroup>

0 commit comments

Comments
 (0)