-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET 5.0 RC2 - self-contained build on Linux - version missing in generated file #46087
Comments
When build on Linux, SDK does not have access to all Windows APIs needed to set PE bites |
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
To runtime team, I think we've talked about having a crossplatform API to write PE bites. What's the progress? |
Tagging subscribers to this area: @vitek-karas, @agocke Issue DetailsAlready reported on RC2 (microsoft/dotnet#1258), but it was closed without any action. When I build a self-contained app on Linux (in a Docker container), targeted to win-64, the generated exe file misses version, copyright, and other information. When built on Windows, the information is built into the exe file as expected.
|
This is currently by design - there's a master issue for this somewhere (can't find it right now). Basically the root cause is that SDK uses Windows API to update native resources for windows executables. These APIs are obviously not available on Linux and instead of failing it will just "skip" that step. This applies to all native resources, so version information, manifests, icons, ... |
That looks right to me |
Already reported on RC2 (microsoft/dotnet#1258), but it was closed without any action.
When I build a self-contained app on Linux (in a Docker container), targeted to win-64, the generated exe file misses version, copyright, and other information. When built on Windows, the information is built into the exe file as expected.
The text was updated successfully, but these errors were encountered: