Click here to Skip to main content
15,888,984 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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?
Posted
Comments
ZurdoDev 6-May-13 13:59pm    
Sounds like you didn't use the right access modifier. Is Test marked as public?
priya9826 6-May-13 14:06pm    
Its public only.
skydger 6-May-13 15:58pm    
Is it possible, that solution has mixed configurations for your dll and other projects? For example an dll project has Debug configuration and site's project has Release config.
priya9826 6-May-13 17:04pm    
no
priya9826 6-May-13 17:05pm    
Its able to recognize static methods and its not recognizing non static methods

1 solution

This is due to the static class.Static methods are called with the help of static classes but the not the objects
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900