Visual Studio 2019创建.Net Core Web 不能加引用包解决

Visual Studio 2019创建.Net Core Web 不能加引用包解决

PM>  Install-Package System.Data.Common
PM>  Install-Package System.Data.SqlClient
PM>  Install-Package System.Configuration.ConfigurationManager -Version 4.7.0
PM>  Install-Package Dapper -Version 2.0.35

//不能加引用解决
How can I run gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll successfully in cmd in windows 7 for vs2017?

  1. Run Developer Command Prompt for VS 2019 AS ADMINISTRATOR!
  2. cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\PublicAssemblies
  3. gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll
  4. Restart visual studio
  5. Done

仅供学习参考,如有侵权联系我删除

你可能感兴趣的:(.NET,Core,visual,studio)