Reputation: 8384
I have a .Net Core v2.2 project and I set the Publish
options as follows:
I also set the Package
information:
Also modified the .csproj
file as follows:
The Details of the generated(?) exe looks like this:
What else should I set to make those informations appear not only in the dll file but in the exe file as well?
UPDATE
According to the possible answer, there is a fundamental change in the upcoming version of the .Net Core SDK starting with version 3.0. After verification, this question and answer will help solving the issue instead of providing an explanation of why it can't be done.
Upvotes: 2
Views: 2191
Reputation: 28116
What else should I set to make those informations appear not only in the dll file but in the exe file as well?
I updated my Visual Studio 2019 to version 16.2.5 (latest is 16.3.1) and installed the new .Net Core 3.0 SDK
. After that the generated exe contains all the version information and can be used as expected.
SDK download link.
Upvotes: 2