You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add PublishReadyToRun to DotNetRestoreSettings #4109
In .NET 6, dotnet restore followed by dotnet publish -p:PublishReadyToRun=true --no-restore will fail with the NETSDK1095 error. This is because the crossgen binary is now shipped as a separate NuGet package, and so needs to be part of the restore operation for publishing to succeed.
There is a work around (set NoRestore to false), but it requires restoring twice, if you have already restored (for example, so you could test before publishing).
Activity
SARAVANA1501 commentedon Mar 25, 2023
Is it up for contribution?
augustoproiete commentedon Mar 27, 2023
Hey @SARAVANA1501, no this one already has a pull-request that is waiting to be merged - #4110
augustoproiete commentedon Mar 27, 2023
Assigned to @Marusyk
(cake-buildGH-4109) Add PublishReadyToRun to DotNetRestoreSettings
(cake-buildGH-4109) Add PublishReadyToRun to DotNetRestoreSettings
Merge pull request #4110 from Marusyk/rmarusyk/4109
cake-build-bot commentedon Jul 9, 2023
🎉 This issue has been resolved in version v3.1.0 🎉
The release is available on:
Your GitReleaseManager bot 📦🚀