I have a Visual Studio 2010 solution that contains multiple projects. One of these projects is a library, which I have added a method to. Within visual studio I can navigate from the method call in my main project to the method in the library, but when I attempt to build/run the solution it gives me a “does not contain a definition for ‘My_Method'”. What am I doing wrong?
I have a Visual Studio 2010 solution that contains multiple projects. One of these
Share
It looks as if the library project isnt being rebuilt on each run, assuming that the project reference is correctly added (right click on
references->add reference-> select your library project)You should make sure that your library is being rebuilt when you run.
To do so :
Right click on your
SolutionClick on
Configuration manager(approximative translation)buildis checked, if not, check if for thelibraryproject