try-convert
try-convert copied to clipboard
Set csproj property Deterministic to false if AssemblyVersion in AssemblyInfo.cs has wildcard
as mentioned in https://github.com/dotnet/upgrade-assistant/issues/546:
[...] If AssemblyInfo.cs is part of the project, check to see if wildcards are being used and properly set false in the new csproj.
Right now if you use a wildcard to automatically generate the version number, you won't be able to build after using try-convert
until you disable determinism yourself.
Seems like a reasonable addition. This might have to be one of the last steps in the migration piece. To do it right though, you'll need to parse the file and extract the version value with Roslyn. I suppose a bespoke parser could also get that data out. But either way, that's needed.