Why is deterministic builds the new MS norm now?

I think this change happened in Visual Studio 2017 (not sure) but all new projects have Deterministic set to true. One ramification of this change is you can’t have the build process automatically update the assembly version number as below.

[assembly: AssemblyVersion("5.3.*")] 

The only way I found to change Deterministic build to false is to edit by hand the .csproj file. This leads me to believe using the wild cards in AssemblyVersion is a bad long term decision.

Why is MS pushing deterministic build so hard? What are my potential long term risks of continuing to use non deterministic builds?

Are there better alternatives to using AssemblyVersion wild cards for automatic version number update?


submitted by /u/edwwsw
[link] [comments]

Leave a Reply