系统debug时出现错误,System.AccessViolationException: 尝试读取或写入受保护的内存.这通常指示其他内存已损坏. Attempted to read or write protected memory. This is often an indication that other memory is corrupt 从网上查阅,大多都是说因为调用C++等dll等等,但系统中确实没有关于其他dll的调用,很是郁闷.最后查得设置配置参数即可. 解决办法: Tools…