Open Collective
Open Collective
Loading
.net 472/MSBuild16 required at build time
Published on March 28, 2019 by Simon Cropp

With the impending release of VS2019 (2nd April) it is planned to drop support for MSBuild15 (which ships with VS2017).

This would mean that soon after the VS2019 release, a new version of Fody would be released that requires .net 472/MSBuild16 at build time

The motivations for this change are as follows:

  • Currently Fody addins are constrained in the .net runtime they can use. The current requirement for MSBuild15 support locks us in to .net4, a 4 year old runtime and SDK. Changing the minimum requirement to be MSBuild16 allows Fody addins to make use of features in newer .net versions.
  • Reduce support effort by not needing to troubleshoot bugs in VS2017, msbuild15, and older versions of NuGet.
  • Lowers the friction for contributors, since they do not need to install the net4 SDK.

Impact on users:

  • This does not effect people using dotnet build.
  • Fody will still be able to process .net assemblies on lower version
  • Build/dev machines will need msbuild16 (shipped with VS2019) installed
  • Users can remain on older versions of Fody until they can update to VS2019

If there are any concerns/questions/comments, please post at https://github.com/Fody/Fody/issues/679