How to append version number to dll file names built?

Is there a way to append the assembly version number (e.g. AssemblyFileVersion) to the file built? For example:

ProjectName_v1.0.0.0.dll instead of ProjectName.dll.

I can see a read-only version in "Project Properties -> Diagnostics -> Properties -> TargetFileName". But could not find a setting to configure it to something like "ProjectName_$(AssemblyFileVersion).dll".

1 comment
Comment actions Permalink

Hi Guney Ozsan

For this, right-click on a project in Solution Explorer -> Properties -> Assembly. This option is available only for .netCore solutions.

Also, you can change the assembly version manually via editing AssemblyInfo.cs file.




Please sign in to leave a comment.