From 414393fc1ff0e808865a088c826122694fc4fe3f Mon Sep 17 00:00:00 2001 From: Ladi Prosek Date: Fri, 27 Aug 2021 05:01:40 +0200 Subject: [PATCH] Switch to full NGEN (#6764) Context We are currently pre-compiling only code that gets executed as part of our IBC training scenarios. This results in smaller native images but the coverage is not perfect and it's easy to miss a code path and cause JITting at run-time. Changes Made With Visual Studio switching to 64-bit, address space is no longer a concern and the positive impact of pre-compiling everything outweighs the cost of larger image sizes. Testing Experimental VS insertion showing improvements in # of methods JITted and wall-clock time. --- src/Build/Microsoft.Build.csproj | 2 +- src/Framework/Microsoft.Build.Framework.csproj | 2 +- src/Tasks/Microsoft.Build.Tasks.csproj | 2 +- src/Utilities/Microsoft.Build.Utilities.csproj | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Build/Microsoft.Build.csproj b/src/Build/Microsoft.Build.csproj index f89fc770232..c2e17a824f3 100644 --- a/src/Build/Microsoft.Build.csproj +++ b/src/Build/Microsoft.Build.csproj @@ -20,7 +20,7 @@ true This package contains the $(MSBuildProjectName) assembly which is used to create, edit, and evaluate MSBuild projects. false - partial + full $(NoWarn);NU5104 diff --git a/src/Framework/Microsoft.Build.Framework.csproj b/src/Framework/Microsoft.Build.Framework.csproj index ee02ebe3c87..d2b221eb376 100644 --- a/src/Framework/Microsoft.Build.Framework.csproj +++ b/src/Framework/Microsoft.Build.Framework.csproj @@ -7,7 +7,7 @@ true This package contains the $(MSBuildProjectName) assembly which is a common assembly used by other MSBuild assemblies. false - partial + full