Skip to content

Commit

Permalink
Merge pull request #1038 from vbornand/vbornand-patch-msbuildversion
Browse files Browse the repository at this point in the history
Change the condition to check the MSBuild version
  • Loading branch information
clairernovotny authored Jan 25, 2021
2 parents a0c0698 + 5d08e40 commit 20fa395
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Refit/targets/refit.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<Target Name="_RefitMSBuildVersionCheck"
Condition=" '$([System.Version]::Parse($(_RefitMSBuildMinVersion)).CompareTo($([System.Version]::Parse($(MSBuildVersion)))))' &gt;= '0' "
Condition=" '$([System.Version]::Parse($(_RefitMSBuildMinVersion)).CompareTo($([System.Version]::Parse($(MSBuildVersion)))))' &gt; '0' "
BeforeTargets="ResolveAssemblyReferences;Build;Rebuild">
<Error
Text = "Projects using Refit cannot build using MSBuild '$(MSBuildVersion)'. MSBuild '$(_RefitMSBuildMinVersion)' or later is required." />
Expand Down

0 comments on commit 20fa395

Please sign in to comment.