Visual Studio 2017 let me know there was an upgrade to Fody version 5 this morning. I accepted and did a NuGet package update of both Fody and PropertyChanged.Fody.
Now, my project/solution will no longer build.
The error is:
"Fody is only supported on MSBuild 16 and above. Current version: 15."
I tried uninstalling, shutting down VS, and reinstalling to no avail.
Please downgrade Fody to version 4.2.1.
Upgrade to Visual Studio 2019 https://visualstudio.microsoft.com/downloads/
For what it's worth - I ran into the same situation. A colleague added Fody with no other reason than to reduce the number of files created upon building.
Rather than deal with downgrading plugin versions or upgrading VS2017 to VS2019, I removed Fody from the project (as it had no real added value in the project).
来源:https://stackoverflow.com/questions/55795625/fody-is-only-supported-on-msbuild-16-and-above-current-version-15