Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Commit

Permalink
Set the MSBuild Optimize property to true
Browse files Browse the repository at this point in the history
  • Loading branch information
asbjornu committed Mar 11, 2018
1 parent fbaaf25 commit cdfad8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ Task("Build")
Configuration = configuration + "-" + framework,
ToolVersion = MSBuildToolVersion.VS2017,
};
settings.WithProperty("TargetFramework", new string[] { framework });

settings.WithProperty("TargetFramework", new string[] { framework })
.WithProperty("Optimize", new string[] { "true" });

MSBuild(solution, settings);
}
Expand Down

0 comments on commit cdfad8c

Please sign in to comment.