Visual Studio包管理器控制台报错:字符串缺少终止符',NuGet安装失败
NuGet包安装失败及Package Manager Console报错求助
问题描述
- 尝试给项目安装NuGet包时失败,报错截图:

- 打开Package Manager Console时,控制台抛出错误截图:

已尝试方案
已尝试社区中针对"Failed to initialize the PowerShell host"问题的所有建议,但均未解决问题。
特殊情况
该错误仅出现在某一特定Visual Studio解决方案中,其他解决方案的项目可正常安装NuGet包并使用Package Manager Console。
恳请提供排查方向及解决办法,谢谢。
内容的提问来源于stack exchange,提问作者chamara
相关产品推荐
相关产品推荐

