Fody is only supported on MSBuild 16 and above. Cu

2020-05-24 19:33发布

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.

3条回答
我命由我不由天
2楼-- · 2020-05-24 19:42
趁早两清
3楼-- · 2020-05-24 19:57

Please downgrade Fody to version 4.2.1.

查看更多
爷的心禁止访问
4楼-- · 2020-05-24 19:57

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).

查看更多
登录 后发表回答