有什么方法可以让 Blend 重新加载已在 Visual Studio 中修改过的项目吗?

发布于 2024-07-12 02:48:01 字数 515 浏览 6 评论 0原文

我有一个 Visual Studio 解决方案,它同时在 Blend 2 SP1 和 VS2008 SP1 中打开。

如果我在 VS 中进行更改,然后切换到 Blend,它会注意到项目已更改并重新加载内容,但这确实不可靠。 有时它不会注意到更改,有时它会注意到更改,但不会重新加载所有已更改的文件。 值得注意的是:

  1. 如果我在 Blend 中打开一个 xaml 文件,并在 VS 中编辑它,当我切换回 Blend 时,它通常不会获取编辑后的源代码

  2. 如果我使用 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:

  1. 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

  2. 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自在安然 2024-07-19 02:48:01

在观看 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文