Today, the target EnablePartialNGENOptimization unconditionally specifies -partialNGEN to ibcmerge.exe (
|
<IbcMergeArgs>-q -f -partialNGEN -minify -delete -mo "%(_AssemblyWithRawIbcData.OptimizeAssemblyPath)" -incremental "%(_AssemblyWithRawIbcData.PreviousAssemblyCopyPath)"</IbcMergeArgs> |
) which means that any users of this target will get partial NGEN.
The bulk of IBC users should be fully pre-compiling their assemblies. One way to address this would be to add a new target that uses most of the machinery of EnablePartialNGENOptimization but doesn't specify -partialNGEN to ibcmerge.exe.
@tmat, @billwert
Today, the target EnablePartialNGENOptimization unconditionally specifies -partialNGEN to ibcmerge.exe (
arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/OptimizationData.targets
Line 119 in 660f6cd
The bulk of IBC users should be fully pre-compiling their assemblies. One way to address this would be to add a new target that uses most of the machinery of EnablePartialNGENOptimization but doesn't specify -partialNGEN to ibcmerge.exe.
@tmat, @billwert