繁体   English   中英

发出调试代码当前目标框架.NETFRAMEWORK,版本= v4.0

[英]Got issue debugging code The currently targeted framework .NETFRAMEWORK, Version =v4.0

我正在Visual Studio 2013上基于.NET Framework 3.5版的ASP.NET应用程序上工作,当我调试代码时收到以下警告消息

Warning 708 The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "C:\Users\kzahid\Desktop\ADB Project\My Development\13.023-PSMD-Startup-master\13.023-PSMD-Startup-master\Applications\ORC.PCMD.ADB\ORC.PCMD.BLL\bin\Debug\ORC.PCMD.ADB.BLL.dll" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.    ObjectTester

在此处输入图片说明

从项目属性中,可以确认.NET Framework版本为3.5,但是我不确定为什么会出现以下错误!

您是否尝试过清洁解决方案,将版本更改为4.0,保存,然后将其更改回3.5并重建? 我时不时地在Visual Studio中看到过一些奇怪的事情,有时由于某种原因它似乎挂在旧的设置上。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM