且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在ASP.NET Core项目模板中安装NuGet程序包

更新时间:2022-03-02 04:36:03

您好GaneshRengasamy,

Hi GaneshRengasamy,

>> 1。如何解决此问题?

请尝试以下解决方法:

Please try the following workaround:

打开VS2017(无加载您的解决方案),打开软件包管理器控制台,等待它完全加载,然后打开您的解决方案。

open VS2017 (without loading your solution), open the Package Manager Console, wait for it to fully load, then open your solution.

>>。请向我建议在运行时将NuGet包安装到ASP.NET Core项目中的任何其他最简单方法

您可以使用IVSPackageInstaller来安装自定义第三方软件包。

You could use  IVSPackageInstaller to install the custom 3rd party packages.

祝你好运,

Cole Wu