I have ASP.NET web api project created on .NET v 4.5 I later i was decided to change framework to 4.0 After changing i got an error. VS can not regognize types and namespaces althougt all required librariesare referenced. It does not happen to newly creted test API project.
我有ASP。NET web api项目创建于。NET v4.5 I之后,我决定将框架更改为4.0。VS不能识别类型和名称空间,尽管所有必需的库都被引用。它不会发生在新创建的测试API项目中。
1 个解决方案
#1
3
Try to check that the dlls you are referencing are for version 4.0 and not 4.5, could be you are still referencing 4.5 libraries which won't work with .net 4.
试着检查你正在引用的dll是4.0版本而不是4.5版本,可能你还在引用4.5库,这些库在。net 4中无法使用。
#1
3
Try to check that the dlls you are referencing are for version 4.0 and not 4.5, could be you are still referencing 4.5 libraries which won't work with .net 4.
试着检查你正在引用的dll是4.0版本而不是4.5版本,可能你还在引用4.5库,这些库在。net 4中无法使用。