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 Jul 1, 2022
1 parent 3bd8b8f commit 05aa5a8
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 05aa5a8

Please sign in to comment.