有什么方法可以让 Blend 重新加载已在 Visual Studio 中修改过的项目吗?
我有一个 Visual Studio 解决方案,它同时在 Blend 2 SP1 和 VS2008 SP1 中打开。
如果我在 VS 中进行更改,然后切换到 Blend,它会注意到项目已更改并重新加载内容,但这确实不可靠。 有时它不会注意到更改,有时它会注意到更改,但不会重新加载所有已更改的文件。 值得注意的是:
如果我在 Blend 中打开一个 xaml 文件,并在 VS 中编辑它,当我切换回 Blend 时,它通常不会获取编辑后的源代码
如果我使用 VS 将新文件添加到项目中(图像或 xaml 文件或任何内容) ,然后切换回 Blend,它不会显示添加的文件。
我能够让 Blend 注意到这些更改的唯一方法是关闭项目并重新打开,或者退出并重新启动 Blend。 这真的很烦人。 我想做的是强制混合重新加载项目,而不必关闭并重新打开它。
这看起来应该是显而易见且简单的事情(F5 就很好),但我找不到任何东西! 帮助!
I have a Visual Studio solution which is open in both blend 2 SP1 and VS2008 SP1 simultaneously.
If I make changes in VS, then switch over to blend, it notices that the project has changed and reloads things, however this is really unreliable. Sometimes it doesn't notice changes, and sometimes it does notice changes, but doesn't reload all the files that were changed. Notably the following:
If I have a xaml file open in blend, and edit it in VS, when I switch back to blend, often it does not pick up the edited source code
If I add a new file to the project using VS (an image or xaml file or anything), and switch back to blend, it does not show the added file.
The only way I've been able to get blend to notice these changes is to close the project and re-open, or to quit and re-start blend. This is really annoying. What I'd like to do is force blend to reload the project without having to close and re-open it.
This seems like something which should be obvious and easy (F5 would be nice), but I've not been able to find anything! Help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在观看 Jonas Follesoe 在 Blend 中进行一些 silverlight 开发的 TechEd 视频后,我注意到他不断从 Blend 内部重复执行“重建解决方案”。
我尝试这样做,似乎已经解决了问题。 我不完全确定它是否已修复,但现在似乎确实好一点了。
After watching a TechEd video of Jonas Follesoe doing some silverlight dev in blend, I noticed he kept repeatedly doing a "Rebuild Solution" from inside blend.
I tried doing this, and it seems to have made the problem go away. I'm not entirely sure if it's fixed, but it does seem to be a bit better now.