我有一个关于添加对.NET项目引用的简单问题。我将reCAPTCHA添加到网站,并且我已经下载了该dll。添加对.dll的引用asp.net
设置参考DLL我建立并运行该项目,并得到这个错误后:
[ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.]
System.Reflection.Module._GetTypesInternal(StackCrawlMark& stackMark) +0
System.Reflection.Assembly.GetTypes() +96
StarSuite.Core.Settings.GetSingletonInstancesOfBaseType(Type baseType, String staticMethodName, Type returnType) +149
[ApplicationException: Unable to load types from 'Recaptcha, Version=1.0.5.0, Culture=neutral, PublicKeyToken=9afc4d65b28c38c2'. LoaderExceptions: [FileNotFoundException: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.]
]
我失去了什么,为什么我得到这个错误?
不,它不是一个MVC项目。我有错误的DLL? – Andy 2010-12-21 13:04:53
我还没有使用过这个组件,但是我想说你应该在谷歌代码上检查这个项目http://code.google.com/apis/recaptcha/docs/aspnet.html – 2010-12-21 13:11:39
我尝试了一个老版本的组件我接缝工作!非常感谢您的帮助和时间! – Andy 2010-12-21 13:14:11