locked
"Go to definition" command not availaible on context menu in visual studio 2012 RRS feed

  • Question

  • User1145764744 posted

    Hello 

    I use visual studio 2012 for an MVC 3 applciation .

    I cannot find the "Go to Definition"  command when pointing to a css class in a ".cshtml" file 

    hitting F12 has no effect  .

    Monday, November 12, 2012 6:25 AM

Answers

  • User-166373564 posted

    Hi shezah abdul

    "Go to Definition" isn't available when pointing to a css class in a ".cshtml" file for VS 2012,

    if you need this new feature, you could post this in feedback center, and Visual Studio Development team will give you positive feedback.

    hope it helps you.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 18, 2012 9:53 PM
  • User2053451246 posted

    "Go to Definition" is available in VS 2010 in .cshtml files when right-clicking on a model object.  I think this is the same as VS 2012 not having "Go To Controller" anymore.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 19, 2012 4:07 PM

All replies

  • User-166373564 posted

    Hi shezah abdul

    "Go to Definition" isn't available when pointing to a css class in a ".cshtml" file for VS 2012,

    if you need this new feature, you could post this in feedback center, and Visual Studio Development team will give you positive feedback.

    hope it helps you.

    Regards

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, November 18, 2012 9:53 PM
  • User2053451246 posted

    "Go to Definition" is available in VS 2010 in .cshtml files when right-clicking on a model object.  I think this is the same as VS 2012 not having "Go To Controller" anymore.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, November 19, 2012 4:07 PM