visual-studio - 由于我已将 VS 项目放在 OneDrive 上,因此出现错误:无法处理文件 MainForm.resx... 我无法再编译
问题描述
由于我已将我的VisualStudio C# 项目放在OneDrive上(也许这不是一个好主意......)我得到了错误:
Couldn't process file MainForm.resx due to its being in the Internet or
Restricted zone or having the mark of the web on the file. Remove the mark
of the web if you want to process these files.
如果我将我的项目移到外面,它当然会再次工作。
在它位于谷歌驱动器文件夹之前并且它也可以正常工作......不明白微软怎么会错过这种东西......
我已经检查了与此问题相关的所有消息,但没有一个有效:
- 我的文件没有解锁选项
- powershell 命令不起作用
- 我已经更新 MainForm.resx 清理并重建
提前谢谢!!!
解决方案
推荐阅读
- sublimetext3 - Sublime Text 3 Find - 突出显示所有结果,而不是白色轮廓
- javascript - 如何将对象数组中字段的值复制到另一个数组中
- java - memcache 究竟是如何删除过期数据的?
- c# - 调试时,有没有办法让 Visual Studio 在不打开浏览器窗口的情况下为我的 Web API 项目加载 DLL
- python - 将嵌套的 json 转换为 dict
- url - 如何通过 URI 构建器将路径附加到我现有的 url
- ios - 你能在 Open GLES2.0 的 mip 贴图级别上混合纹理格式吗
- php - PHP - 比较两个数组时提高速度
- swift - 如何创建增量数字字符串?
- javafx - 如何在JavaFx中将多个TextField放在一个圆圈中