Visual Studio 2010 - 错误签名程序集 [英] Visual Studio 2010 - Error signing assembly

查看:180
本文介绍了Visual Studio 2010 - 错误签名程序集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我在Visual Studio 2010中编译我的解决方案时遇到错误。



它给了我这个错误程序集签名失败;输出可能没有签名 - 错误签名程序集 - 进程无法访问该文件,因为它正被另一个进程使用。。



我对解决方案中的所有项目都有相同的强名称键(这可能是问题吗?)。



有时我是能够编译它,但大多数时候,在一个或另一个项目中给我这个错误。为了能够编译解决方案,我必须一次编译每个项目。



你能帮帮我吗?



最好的问候



布鲁诺费尔南德斯

Hello,

I'm having an error when compiling my solution in Visual Studio 2010.

It gives me this error "Assembly signing failed; output may not be signed -- Error signing assembly -- The process cannot access the file because it is being used by another process.".

I have the same strong name key to all the projects in the solution (can this be the problem?).

Sometimes i'm able to compile it, but most of the time, gives me this error in one or another project. To be able to compile the solution i have to compile each project at a time.

Can you help me please?

Best regards

Bruno Fernandes

推荐答案

我见过的东西这就是VS2010正在编译跨多个进程的代码,它并不总能很好地相互协作。要解决这个问题,您可以进入工具 - >选项 - >项目和解决方案 - >构建和运行,然后将最大并行项目数更改为1.您可以尝试使用2或4,但该值默认为您拥有的核心数。这将使你的构建变慢,因为它一次只能编译1个项目,但是一旦我放弃了并行编译,我就看到这种类型的问题消失了。
What I have seen when I have had this is that VS2010 is compiling the code across multiple processes and it does not always play nicely with each other. To get around this, you can go into the Tools->Options->Projects and Solutions->Build and Run and then change the maximum number of parallel projects to 1. You might be able to experiment with 2 or 4, but the value defaults to the number of cores that you have. This will make your builds slower since it will only compile 1 project at a time, but I have seen this type of issue go away once I backed down on the parallel compiling.


看一看在这个链接





部署Visual Studio工作流程时出错



我希望这会有所帮助。
Take a look at this link


Error Deploying Visual Studio Workflows

I hope this helps.


这篇关于Visual Studio 2010 - 错误签名程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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