C# 遇到 R6034 Runtime Error的解决办法

最近在开发个GIS小工具,用到了ArcgisEngine的gp工具MultipleRingBuffer,在调试的时候提示LoderLock的错误,在vs2010中【调试】-【异常】-【Managed Debugging Assistants】中把LoderLock的勾去掉了,再调试却出现另外一个错误,找了好久终于找到了解决方法。

Error: R6034 Runtime Error! An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information

An application manifest should be added to the Engine application to ensure the correct msvcr90.dll (required by Python) is loaded. In Visual Studio, Add New Item > Application Manifest File (app.manifest). Add the following XML into the app.manifest:



  
  
  

  
    
      
    
  

参考网址:http://support.esri.com/technical-article/000013127

你可能感兴趣的:(C# 遇到 R6034 Runtime Error的解决办法)