安装支持MFC的vs2019(解决MSBuild 错误 MSB8041、MSB8042) 常用安装选项解决MSBuild 错误 常用安装选项 解决MSBuild 错误 安装上述勾选内容后,即可解决MSBuild 错误 MSB8041 MSB8041:此项目需要 MFC/ATL 库。 https://learn.microsoft.com/zh-cn/visualstudio/msbuild/errors/msb8041?view=vs-2022 参考链接:https://blog.csdn.net/sanqiuai/article/details/124181979