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
Post a Comment