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
I'm building a Win64 executable on Linux. It works very well except that the resulting executable has no version info. It tracked this down to HostWriter class in this repo. In particular this line. The code only copies resource on Windows.
Steps to repro:
Create .net core console app targeting Win64.
Make sure that your project file has <Version> attribute.
Build the app on Linux.
Expected result: the resulting exe has version resource. (In fact it does have this when you build on Windows)
Actual result: no version resource in the resulting exe.
The text was updated successfully, but these errors were encountered:
With the current resource updater, I think we should at least be outputting a warning in this case. It looks like https://github.com/dotnet/sdk/pull/3447/files#diff-0a0bced361e8a4b1eeaaa2c34a320a68R47 restricted the apphost customization warning to GUI apps. @wli3 was there a particular reason for this, and do you think it's worth logging a warning for console apps too?
I'm building a Win64 executable on Linux. It works very well except that the resulting executable has no version info. It tracked this down to HostWriter class in this repo. In particular this line. The code only copies resource on Windows.
Steps to repro:
<Version>
attribute.Expected result: the resulting exe has version resource. (In fact it does have this when you build on Windows)
Actual result: no version resource in the resulting exe.
The text was updated successfully, but these errors were encountered: