Visual Studio 2022 列出了 Automapper,这是一个不兼容的 nuget 更新
当所有项目都面向 .NET Framework 4.8(与 11.0.1 不兼容)时,Visual Studio 会在 Nuget 包更新列表中列出 AutoMapper 11.0.1。这是正常现象,还是我的解决方案配置中存在错误、Visual Studio 中的错误或其他问题?当我尝试安装它时,出现此错误 - 无法安装包“AutoMapper 11.0.1”。您正在尝试将此包安装到面向“.NETFramework,Version=v4.8”的项目中,但该包不包含任何与该框架兼容的程序集引用或内容文件。有关详细信息,请联系包作者。
Visual Studio lists AutoMapper 11.0.1 in the Nuget packages Updates list when all projects target .NET Framework 4.8, which is incompatible with 11.0.1. Is this normal, or is there an error in my solution configuration, a bug in Visual Studio or something else? When I attempt to install it I get this error - Could not install package 'AutoMapper 11.0.1'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.8', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论