首页 > 解决方案 > 如何将目标框架 4.5 更改为 3.5 vs 2017

问题描述

如何将项目级别降低到 NET 4.53.5 in vs2017,当我将 Framework NET 4.5更改为3.5时,它向我展示了这个问题:

Warning Unable to resolve the primary reference "MetroFramework, Version = 1.2.0.3, Culture = neutral, PublicKeyToken = 5f91a84759bf584a, ProcessorArchitecture = MSIL" 
because it has an indirect dependency on the Framework assembly "Microsoft.Build.Utilities.v4.0 , Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a" 
that has not been resolved in the currently targeted Framework. ".NETFramework, Version = v3.5". 

To resolve this issue, remove the reference "MetroFramework, Version = 1.2.0.3, Culture = neutral, PublicKeyToken = 5f91a84759bf584a, ProcessorArchitecture = MSIL", 
or re-apply your application to a version of Framework that contains "Microsoft.Build.Utilities.v4.0 , Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b03f5f7f11d50a3a"         

标签: c#.netasp.net-mvc

解决方案


推荐阅读