AccessViolationException goes away when native code debugging is enabled
问题 I get an AccessViolationException when I run the Google Drive API sample in Visual Studio 2012 on Windows 7 x64. My project is targeting .Net 4.5. I get the exception on line 185: await service.Files.Delete(file.Id).ExecuteAsync(); It happens in both Debug and Release modes, and in all platforms (x86, x64, AnyCPU). It does NOT happen when I run without the debugger attached ("Start without Debugging"). It does NOT happen when I enable the "Enable native code debugging" in the Project