Is there a way to set-up RESharper so that when I am on code-behind and when my cursor is on an aspx element if I hit F12 (Go to decleration) it jumps to aspx markup page but not to Designer.cs page?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Formally, any aspx element is declared in a designer file, which is why when you choose to go to declaration from code-behind, you end up landing in the designer file.
This is a usability issue and ReSharper probably should offer a disambiguation pop-up on “Go to Declaration” in this context. However, it currently doesn’t do that. I have submitted a feature request that you can watch and/or vote for.
I can suggest two workarounds: