2017-02-06 27 views
0

我是Azure工作者角色的新手,我创建了一个新的Azure云服务项目并添加了一个辅助角色。在其中,我有一个线程可以调用函数我正在创建EventHub侦听器。构建错误:在本地系统中运行worker角色

我发现像下面这样的错误。

Severity Code Description Project File Line Suppression State 
Error  The process cannot access the file 'D:\Azure\roles\simpleWorkerRole\approot\sampledll.dll' because it is being used by another process. simpleWorkerRole.WorkerRole C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Windows Azure Tools\2.9\Microsoft.WindowsAzure.targets 1057 

回答

0

The process cannot access the file 'D:\Azure\roles\simpleWorkerRole\approot\sampledll.dll' because it is being used by another process.

该错误消息指示sampledll.dll正被另一个进程,则可以尝试使用Process Monitor tool以找到进程正在使用(或锁定)sampledll.dll然后你可以手动结束该过程并重建解决方案。

相关问题