소스 검색

Fix NET8 build

Max Katz 2 년 전
부모
커밋
e9519e2719
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Directory.Build.targets

+ 1 - 1
Directory.Build.targets

@@ -1,5 +1,5 @@
 <Project>
-  <PropertyGroup Condition="$(NETCoreSdkVersion.StartsWith('7.0'))">
+  <PropertyGroup Condition="$([MSBuild]::VersionGreaterThanOrEquals($(NETCoreSdkVersion), '7.0'))">
     <DefineConstants>$(DefineConstants);NET7SDK</DefineConstants>
   </PropertyGroup>  
 </Project>