Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In my Project solution i have two class library projects also called as Business Layer and Database Layer. i added the reference for both, but i can open the class file from Business Layer to Database Layer, but i can't open the class file from the c# code to Business layer. i added the business layer reference also in the web project, but still it open the meta data file.

What I have tried:

i tried in google, Visual Studio go to definition metadata
Posted
Updated 16-May-19 0:55am

1 solution

To Visual Studio to open the source directly and not a de-compiled (metadata) version, you have to have a project reference...
The problem begins when you added the reference to the DLL and not to the project... In this case VS will remember forever that and will always open 'from metadata' even you changed the reference from DLL to project... The only way I now of, is manually editing the project file and remove the DLL reference...
If you have ReSharper, you can configure it to open source even you have reference to the DLL (if the DLL is for debug and has the info for that)...
 
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