Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Sometimes I see the shortcut sometimes I don't. I'm not sure why.

How can I make the shortcut permanent?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
321 views
Welcome To Ask or Share your Answers For Others

1 Answer

I believe I have an answer. It worked for me flawlessly. After being frustrated, I wrote to MS through the Feedback option in VS2013 (at the top). A week later, one of their employees responded with this:

Hi,

Thanks for raising this issue to us through the Visual Studio Feedback program. I am interested in helping investigate the issue you’ve described. After creating a new WPF app in Visual Studio 2013 RTM, I was able to reproduce the issue you’ve described. By default, .xaml files do not have the “Open in Blend…” command enabled in the context menu in the Solution Explorer. However, I was able to successfully add this command in both VB and C# WPF projects in VS 2013. It sounds like you might have also tried this method, but please try the steps below and see if you are able to successfully add the command. I hope that step #6 might be the trick in successfully enabling the command for you. In order to add this command, I followed these steps:

  1. Tools > Customize
  2. Select Context Menu radio button
  3. From the Dropdown, choose “Project and Solution Context Menus | Item”
  4. Click the “Add Command…” button
  5. Select View category
  6. Select the third (bottom-most) “Open in Blend…” command (there should be three available)
  7. Close dialogs
  8. Right click MainWindow.xaml
  9. Select “Open in Blend…” (it should not be grayed out)

Of the three “Open in Blend…” commands available, the third one is the only one which successfully worked on .xaml files in WPF projects. The other two would be grayed out when I tried to use them. Please contact me to let me know if you are able to successfully add the command or if you still see the issue. I look forward to your response, and I hope that this will successfully resolve your issue!

Thank you,

Scott Rick

I am impressed by the fact that he gave much consideration to this issue and actually tested several methods. In my case, there were two "Open in Blend..." items, so I chose the second one and it worked flawlessly.

Hope it works for you as well.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...