混合导致Visual Studio生成错误“进程无法访问文件”? [英] Blend causing Visual Studio build error "The process cannot access the file"?

查看:94
本文介绍了混合导致Visual Studio生成错误“进程无法访问文件”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio 2010(sp1)无法使用可怕的"错误构建我的项目...无法复制文件....进程无法访问文件....因为它是被另一个进程使用。"

Visual Studio 2010 (sp1) fails to build my project with the dreaded "Error ...Unable to copy file.... The process cannot access the file .... because it is being used by another process."

问题似乎是由同一解决方案上的Expression Blend引起的。

The problem seems to be caused by Expression Blend being opened on the same solution.

如果我关闭Blend,Visual Studio会愉快地构建我的项目。

If I close Blend, Visual Studio happily builds my project.

有人知道是否有针对此问题的修复/解决方法? (除了每次我想建立时关闭Blend,这当然是繁琐的方式)

Anybody know if there a fix/workaround for this problem? (Aside from closing Blend every time I want to build, which of course is way to cumbersome)

推荐答案

错误中的文件是什么?你在工作目录中引用二进制文件吗?
What is the file in the error? Are you referencing binaries in a working dir?


这篇关于混合导致Visual Studio生成错误“进程无法访问文件”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆