Bin和Obj文件夹始终在Visual Studio 2012上只读

问题描述:

我无法再编译我的解决方案了。

I cannot get my solution compiled anymore.

我总是得到一个像"无法获取元数据文件"这样的错误。 " ..... \bin\BLL.dll" "。

I always get an errore like "Cannot get metadata file  ".....\bin\BLL.dll" ".

我尝试重新编译,清理解决方案,以管理员身份打开Visual Studio 2012, 更改\bin和\obj文件夹中的只读属性,删除它们并重建以重新创建它们。

I tried recompiling, cleaning the solution, opening Visual Studio 2012 as Administrator,  changing the read-only property on both \bin and \obj folders, deleting them and rebuilding to have them recreated.

这一切都没用.....

All this was no use .....

这是否有理由和可能的解决方案?

Is there a reason for this and a possible solution ?

是否有理由和可能的解决方案?

检查您的用户权限文件夹。

Check your user rights on the folder.

我自己,我总是创建一个C:\ Project项目,并且  我的VS解决方案位于该文件夹中,这为我提供了完全访问权限。

Myself, I always make a C:\Projects folder, and  my VS solutions are in the folder, which gives me full access rights.