Enable Ready To Run option for ClickOnce publish #6244
VS Publish providers supports an option called ReadyToRun (R2R) by compiling application assemblies as ReadyToRun format.
The change adds support for enabling R2R option in ClickOnce publish.
To do so, the _DeploymentComputeClickOnceManifestInfo ClickOnce target checks the PublishReadyToRun property when PublishSingleFile is not enabled (loose files scenario). If it is true, then it will replace the R2R'ed assemblies within ClickOnceFile group with the corresponding R2R assemblies from the obj...\R2R folder.
In addition, it calls SignFile task to sign the R2R application image.
CTI has testing the R2R configuration with top 50 NuGet packages. In addtion, other normal ClickOnce publish scenarios have been tested with top 50 NuGet packages for regresssions.
Risk: Low since change are scoped to the ReadyToRun scenario only.