由于我已将VS项目放在OneDrive上,因此出现错误:无法处理文件MainForm.resx ...,并且无法进行编译

时间:2018-09-26 10:08:37

标签: visual-studio onedrive

由于我已将 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.

如果我将项目移到外面,它当然会再次起作用。

在将它放在google驱动器文件夹上之前,它也可以正常工作...不明白微软怎么会错过这种事情...

我已经检查了与该问题有关的所有消息,但均无效:

  • 我没有文件的解锁选项
  • powershell命令不起作用
  • 我已经更新MainForm.resx进行了清理和重建

提前谢谢!

0 个答案:

没有答案