无法获取dll中可用的方法。 [英] Not able to get the methods which are available in dll.

查看:77
本文介绍了无法获取dll中可用的方法。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我开发了一个项目和网站。我在网站上添加了一个项目的参考。一切都工作正常一段时间。然后我有在项目中添加了一个新方法(例如:: Test())并重新构建了解决方案并添加了最新的dll引用到网站。

但是当我调用这个Test()方法时,可以在project.Its没有识别teh Test()方法。在bin文件夹中,dll文件创建的日期显示当前时间。为什么我的project.dll仍然指向旧版本,即使我已经构建了?这是什么解决方案?



有什么想法吗?

Hi,

I developed a project and website.I added the reference of a project to the website.Everything works fine for a little time.Then I have added A new method (example ::Test()) in project and rebuilded the solution and added the latest dll reference to website.
But When I am calling this Test() method which is available in the project.Its not recognizing teh Test() method.In the bin folder,The dll file created date is showing the current time.Why my project.dll is still pointing to older version even though I have builded?whats the solution for this?

Any thoughts?

推荐答案

这是由于静态class.Static方法被调用了静态类的帮助,但不是对象
This is due to the static class.Static methods are called with the help of static classes but the not the objects


这篇关于无法获取dll中可用的方法。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆