Skip to content

Commit

Permalink
(chocolatey#2738) Do not specify MSBuildToolVersion
Browse files Browse the repository at this point in the history
Now that it is building on a newer .Net version, it is not required to specify the
version explicitly, as it can be autodetected.
  • Loading branch information
TheCakeIsNaOH committed Jun 27, 2022
1 parent 48fa42d commit ca0380b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions recipe.cake
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ BuildParameters.SetParameters(context: Context,
getILMergeConfigs: getILMergeConfigs,
preferDotNetGlobalToolUsage: !IsRunningOnWindows());

ToolSettings.SetToolSettings(context: Context,
buildMSBuildToolVersion: MSBuildToolVersion.NET40);
ToolSettings.SetToolSettings(context: Context);

BuildParameters.PrintParameters(Context);

Expand Down

0 comments on commit ca0380b

Please sign in to comment.