Skip to content

Commit 47777ba

Browse files
committed
prefer check == 'Full' to != 'Core'
1 parent 44e25fc commit 47777ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

NetcodePatcher.MSBuild/Sdk/Sdk.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Condition=" '$(MSBuildRuntimeType)' == 'Core' "
2323
/>
2424
<Warning
25-
Condition=" '$(MSBuildRuntimeType)' != 'Core' And $([MSBuild]::VersionLessThan('$(MSBuildVersion)', '18.0.2'))"
25+
Condition=" '$(MSBuildRuntimeType)' == 'Full' And $([MSBuild]::VersionLessThan('$(MSBuildVersion)', '18.0.2'))"
2626
Code="NCP0001"
2727
Text="The NetcodePatcher MSBuild SDK cannot be used in a .NET Framework MSBuild with version below 18.0.2 (e.g. outdated Visual Studio).
2828
Either update Visual Studio, or you may ignore this warning if you have set up patching using the command line tool.

0 commit comments

Comments
 (0)