问题描述
我在遇到一些麻烦到包含服务我的应用程序的外部项目的引用。
更改类型的某些属性的一类后,我得到了像方法错误未找到:get_Size()(其中size是字段的名称)
I'm having some trouble with references to an external project that contains services for my application.After changing the types of some properties in a class, I got errors like "Method not found: get_Size() (Where Size is the name of the field)
重建了无数次,删除类,并添加一个新的用不同的名称之后,我面临着一个新的,但类似的问题,现在的应用程序无法找到一种方法,它是在我的工厂类:
After rebuilding numerous times, deleting the class and adding a new one with a different name, I'm faced with a new but similar problem. Now the application can't find a method that is in my Factory class:
找不到方法:Ropes.Services.Contracts.Data.SearchResultPage`1 Ropes.Services.Business.Experience.ExperienceFactory.Search(Ropes.Services.Business.Search.SearchRequest) 。
Method not found: 'Ropes.Services.Contracts.Data.SearchResultPage`1 Ropes.Services.Business.Experience.ExperienceFactory.Search(Ropes.Services.Business.Search.SearchRequest)'.
我已经重新编译了一百万次;走光bin和OBJ文件夹,删除并重新添加引用,但无济于事我的老板来压在我身上这么如果有人能帮助这将不胜感激,我向你保证,业力会好心看你:)
I've recompiled a million times; emptied bin and obj folders, deleted and re-added references but to no avail. My boss is coming down on me so if anyone can help it would be greatly appreciated and I assure you karma will look kindly on you :)
感谢您
推荐答案
解决的办法是.dll文件添加违规到GAC。感谢您的帮助球员。
The solution was to add the offending .dll to the GAC. Thanks for your help guys.
这篇关于故障异常 - 找不到方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!