Xamarin IDE对路径的访问被拒绝 [英] Xamarin IDE Access to the Path is denied
问题描述
我正在移植带有许多项目的Visual Studio C#解决方案,并在Xamarin IDE中创建一个新的解决方案-所有这些都在Windows上进行.
I'm porting over a Visual Studio C# solution with many projects and creating a new solution in the Xamarin IDE - all on windows.
我一次移植/重新创建1个项目,然后进行编译.我可以单独编译每个项目,但随后可以编译解决方案(有一些错误).
如果我尝试全部重建,则会出现问题,然后显示错误:
I am porting / re-creating 1 project at a time and then compiling. I can compile each project individually but and then I can compile the solution (with some errors).
The problem arises if I try a Rebuild All, then it shows the error:
'Access to the path "[my build path\some.dll]" is denied.'
我拥有完全的管理员权限,并且正如我提到的,我最初可以构建dll的库,因此这不是访问问题.
如果我尝试删除有问题的dll,我将无法执行-Windows拒绝了我.
如果关闭Xamarin,则可以手动删除该文件.因此,我想Xamarin在文件上仍然有一个锁",不允许将其删除.
I have full admin rights and, as I mentioned, I originally could build the dll's so it's not an access issue.
If I try to actually delete the dll's in question, I can't - windows denies me.
If I close Xamarin, I can then delete the file manually. So, I assume, Xamarin still has a 'lock' on the file which won't allow it to be deleted.
有没有其他人看到过这个,如果是这样,您是如何解决的?
Has anyone else seen this and if so, how did you get around it?
如果这是一个错误,那么这将使它几乎无法使用.
If this is a bug, then this makes this nearly unusable.
推荐答案
检查该路径上dll
的read-only
属性,确保未选中该属性.我遇到了同样的问题,取消选中只读属性后,问题解决了.
Check the read-only
property of the dll
on that path, make sure it is not checked. I had the same issue, After unchecking the read-only property, the issue resolved.
这篇关于Xamarin IDE对路径的访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!