Closed
Description
Description
If an app is published with both PublishReadyToRunComposite and PublishSingleFile enabled, the app will crash at startup in silence.
Repro steps:
dotnet new console
dotnet publish -c Release -r win-x64 /p:PublishReadyToRun=true /p:PublishReadyToRunComposite=true /p:PublishSingleFile=true
And run the published single-file app, you will find the app is crashing at startup.
I guess it may be caused by the .r2r.dll file lookup failure.
Configuration
.NET 6 Preview 6