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:
- Tools > Customize
- Select Context Menu radio button
- From the Dropdown, choose “Project and Solution Context Menus | Item”
- Click the “Add Command…” button
- Select View category
- Select the third (bottom-most) “Open in Blend…” command (there should be three available)
- Close dialogs
- Right click MainWindow.xaml
- 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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…