Closed sitiom closed 3 years ago
it works for me. more details? logs, sdk version or anything.
Strange, exact thing doesn't work for me.
SDK Version: 5.0.100
Built with dotnet publish -r win-x64 --self-contained true -p:PublishTrimmed=True
looks like it's the sdk issue. the 5.0.100
sdk over-trims something and makes the app crashed(verified, still fails to run even though i disable NetCoreBeauty
).
From: sitiom Date: 2020-12-24 09:22 To: nulastudio/NetCoreBeauty CC: L!εsAμεr; Comment Subject: Re: [nulastudio/NetCoreBeauty] Application fails to run if PublishTrimmed=True (#13) Strange, exact thing doesn't work for me. SDK Version: 5.0.100 Built with dotnet publish -r win-x64 --self-contained true -p:PublishTrimmed=True — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
see dotnet/sdk#14261
That works for now, thanks.
@sitiom What's the fix?
@sitiom What's the fix?
see this comment, https://github.com/dotnet/sdk/issues/14261#issuecomment-734446135
Minimal reproduction: https://github.com/nulastudio/NetCoreBeauty/issues/10#issuecomment-671730525 with latest NetCoreBeauty version and
PublishTrimmed
set totrue
.