[英]build error 'Cannot resolve dependency to assembly '
I'm amateur in c#, I learned basics and start programming, I try to download open source projects from svn of sf.net but in compile of most of them I faced with an error like this: 我是C语言的业余爱好者,我学习了基础知识并开始编程,我尝试从sf.net的svn下载开源项目,但是在编译其中的大多数项目时,我都遇到了如下错误:
build error, 'Cannot resolve dependency to assembly '
and in continue of error it give a publicKeyToken and no line give me. 并继续出现错误,它给出了publicKeyToken而没有行给我。 What is wrong?
怎么了? I just open project with Visual studio .net 2010 and try to debug.
我只是使用Visual Studio .net 2010打开项目,然后尝试调试。 please help me.
请帮我。
Seems that you have some assembly reference which may not exists or may have wrong details. 似乎您有一些程序集引用,该引用可能不存在或细节有误。 You need to either correct the details in the web.config or you need to install assembly reference to your c drive
您需要更正web.config中的详细信息,或者需要将程序集引用安装到c驱动器
Cannot resolve dependency to assembly 'System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' because it has not been preloaded.
无法解析对程序集'System.Core,版本= 4.0.0.0,区域性=中性,PublicKeyToken = b77a5c561934e089'的依赖性,因为它尚未预加载。 When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on >demand through the ReflectionOnlyAssemblyResolve event.
使用ReflectionOnly API时,必须通过ReflectionOnlyAssemblyResolve事件按需预先加载或加载依赖程序集。
To resolve it you can just switch off in VisualStudio: Debug->Exceptions->System.IO 要解决它,您可以在VisualStudio中关闭:Debug-> Exceptions-> System.IO
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.