[英]Existing MVC Web Application with .NET standard library, IDE errors
I converted one of our commonly used libraries to .NET standard 2.0 for mobile application use as well as use in existing applications. 我将其中一个常用的库转换为.NET标准2.0,以供移动应用程序使用以及在现有应用程序中使用。
Using this library in an existing Mvc application (4.7.1 Framework) it builds and runs successfully but the Visual Studio IDE reports a list of build errors for the controller classes around not being able to find elements of the library. 使用现有Mvc应用程序(4.7.1 Framework)中的该库,它可以成功构建并运行,但是Visual Studio IDE会为无法找到该库元素的控制器类报告生成错误列表。 The using clause of this library is also greyed out in the controller classes.
该库的using子句在控制器类中也显示为灰色。
Is there an easy way to resolve this? 有解决此问题的简便方法吗?
从MVC 5.2.3升级到5.2.6的问题已解决。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.