当我尝试编译解决方案时,我收到了这个错误:
Error CS1902: Invalid debug option `+'. Valid options are `full' or `pdbonly' (CS1902) (TAG)
请参阅IDE中的错误:
有关此错误的更多信息:
MonoDoc exited with a exit code = 1.
结束当我运行monodoc
:
$ monodoc
grep: /etc/gre.d/*.conf: Arquivo ou diretório não encontrado (file or directory not found)
Unhandled Exception:
System.TypeLoadException: Could not load type 'Monodoc.EditMerger' from assembly 'monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Monodoc.EditMerger' from assembly 'monodoc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
答案 0 :(得分:1)
似乎是众所周知的问题。如果您使用自定义Makefile进行编译,只需从中删除“+”键即可。像这儿: https://github.com/OpenRA/OpenRA/pull/2596/files
这仅对编译调试版本有影响,因此您可以将目标从“Debug | x86”更改为“Release | x86”(至少对我有帮助)。