winforms - AssemblyFileVersion is null, but it should equal AssemblyVersion -


i have .net4.6 c# windows forms project in visual studio 2015.

my assemblyinfo.cs versioning follows:

[assembly: assemblyversion("1.0.*")] [assembly: assemblyfileversion("")] 

when build application, following values:

assemblyversion: 1.0.5751.22274 assemblyfileversion:  

in of other projects, following values:

assemblyversion: 1.0.5751.22274 assemblyfileversion: 1.0.5751.22274 

is there reason why 1 project not set assemblyfileversion, , would?

update:
works if comment out assemblyfileversion line follows:

[assembly: assemblyversion("1.0.*")] //[assembly: assemblyfileversion("")] 

my other projects (.net4.6 winforms vs2015) not require me comment out line. difference?

it's not null, it's empty string. remove attribute altogether; perhaps specified [assembly: assemblyfileversion()] in other assemblies?

i'd favor omitting attribute on specifying empty value.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -