Skip to content

Commit

Permalink
Merge pull request #2303 from JoeRobich/enable-ready-to-run
Browse files Browse the repository at this point in the history
Improve startup performance by enabling ReadyToRun.
  • Loading branch information
filipw authored Dec 8, 2021
2 parents 565ba9f + ecc0e33 commit 7c727c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ string PublishBuild(string project, BuildEnvironment env, BuildPlan plan, string
{
Framework = framework,
Runtime = rid, // TODO: With everything today do we need to publish this with a rid? This appears to be legacy bit when we used to push for all supported dotnet core rids.
PublishReadyToRun = true, // Improve startup performance by applying some AOT compilation
SelfContained = false, // Since we are specifying a runtime identifier this defaults to true. We don't need to ship a runtime for net6 because we require the .NET SDK to be installed.
Configuration = configuration,
OutputDirectory = outputFolder,
Expand Down

0 comments on commit 7c727c8

Please sign in to comment.