Visual studio. AssemblyVersion with * don't work

Lucyper picture Lucyper · Dec 14, 2018 · Viewed 20.2k times · Source

I can't use * in assembly version

Represents text as sequence of UTF-16 code units.To browse the .NET Framework source code for this type, see the Reference Source.

The specifed version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation

SCRAssembly

Answer

Animesh Pareek picture Animesh Pareek · Jan 14, 2019

I guess you were able to use it earlier and can't anymore.

Reason - There have been some changes to Visual Studio as the new project files now default to 'True' for 'Deterministic' attribute.

Solution - as Hans Passant says, edit project file by hand. Cons to doing it, also as he says.

Source - https://marinovdh.wordpress.com/2018/10/22/68/