Resx 无效...访问被拒绝;但做什么?
我有一个 .NET 项目,根本无法在我的系统上构建,因为每个 .Resx 文件都会因以下错误而失败:
Invalid Resx file. Could not load file or assembly 'Telerik.Reporting, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. Access is denied. Line 122, position 5. C:\...\SomeReport.resx
有问题的行(元素)是:
<metadata name="$this.SnapGridSize" type="Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=3.2.9.1104, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
<value>0.1in</value>
</metadata>
否则该项目依赖于 Telerik Reporting 程序集,如果我删除,一切都会正常工作构建之前所有 Resx 文件中的所有元数据元素。由于各种原因,这些元数据元素不断地回到项目中。
那么我如何知道哪些文件访问被拒绝呢?我似乎无法从 Visual Studio 中得到任何提示,这让我彻底发疯。
I have a .NET project that simply cannot be built on my system, because every .Resx file fails with this error:
Invalid Resx file. Could not load file or assembly 'Telerik.Reporting, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. Access is denied. Line 122, position 5. C:\...\SomeReport.resx
The line (element) in question is:
<metadata name="$this.SnapGridSize" type="Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=3.2.9.1104, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
<value>0.1in</value>
</metadata>
Otherwise the project relies on Telerik Reporting assemblies and everything works fine if I just remove all of the metadata elements from all of the Resx files before building. For various reasons, these metadata elements get back into the project constantly.
So how can I tell WHAT file access is denied to? I can't seem to get any hints from Visual Studio here, and it's driving me absolutely insane.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论