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
When publishing .NET Core 3+ apps that are compiled with ReadyToRun enabled can emit warnings, indicating potential missing dependencies that could potentially cause runtime failures. To show the warnings, we can set the PublishReadyToRunShowWarnings property to true when calling dotnet publish.
DotNetCorePublishSettings currently supports the property PublishReadyToRun, but doesn't yet support the property PublishReadyToRunShowWarnings.
C:/augustoproiete/my-app/build.cake(49,9): error CS0117: 'DotNetCorePublishSettings' does not contain a definition for 'PublishReadyToRunShowWarnings'
What You Are Seeing?
When publishing .NET Core 3+ apps that are compiled with
ReadyToRun
enabled can emit warnings, indicating potential missing dependencies that could potentially cause runtime failures. To show the warnings, we can set thePublishReadyToRunShowWarnings
property totrue
when callingdotnet publish
.DotNetCorePublishSettings
currently supports the propertyPublishReadyToRun
, but doesn't yet support the propertyPublishReadyToRunShowWarnings
.What is Expected?
What version of Cake are you using?
0.38.4
The text was updated successfully, but these errors were encountered: