问题
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