.NET Core publish as exe: How to put assembly infos into exe

[亡魂溺海] 提交于 2019-12-23 04:48:30

问题


My question is similar to this one (How to add copyright to published EXE (.Net Core)) which wasn't really answered.

I have a .NET core executable project.

I can put assembly information like AssemblyFileVersion into my .NET Core project and compile it, it will produce a DLL and Windows Explorer will show this info in the details tab of the file properties.

When I publish as native x64 EXE, I'll get an EXE of the same name and the original DLL.

But only the DLL will contain the assembly info and the EXE will be basically blank (and will have a really old last changed date to boot).

It tried to clean my workspace (killing .vs, bin, obj, packages), nothing helps.

Is there a way?

来源:https://stackoverflow.com/questions/56236610/net-core-publish-as-exe-how-to-put-assembly-infos-into-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!