找不到方法:'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID9System.Guid)'

时间:2014-06-12 21:57:26

标签: c# asp.net .net vb.net windows

Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID9System.Guid)'. 

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box. 

************** Exception Text ************** 
System.MissingMethodException: Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)'.
at WindowsApplication7.ModsToInstall.MyExtract() 
at WindowsApplication7.ModsToInstall.Install() 
at WindowsApplication7.ModsToInstall.YtButton2_Click(Object sender, EventArgs e) 
at System.Windows.Forms.Control.OnClick(EventArgs e) 
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) 
at System.Windows.Forms.Control.WndProc(Message& m) 
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) 
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) 
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) 


************** Loaded Assemblies ************** 
mscorlib 
Assembly Version: 4.0.0.0 
Win32 Version: 4.0.30319.1022 (RTMGDR.030319-1000) 
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll 
---------------------------------------- 
WindowsApplication7 
Assembly Version: 1.0.0.0 
Win32 Version: 1.0.0.0 
CodeBase: file:///C:/Users/llupulescu/Desktop/Svatekl2's%20Extended%20ModPack%209.1%20v1.1.exe 
---------------------------------------- 
Microsoft.VisualBasic 
Assembly Version: 10.0.0.0 
Win32 Version: 10.0.30319.1 built by: RTMRel 
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll 
----------------------------------------<
  • 所以我认为问题是.Net FrameWork

  • 但我不确定......可能吗?

  • P.S我是新来的(到目前为止第2个帖子),如果看起来很奇怪 &#34; HQ&#34;抱歉:/

1 个答案:

答案 0 :(得分:0)

快速搜索产生了这个:

Method not found: 'System.Type System.Runtime.InteropServices.Marshal.GetTypeFromCLSID(System.Guid)'

这可能是兼容性问题?查看该文章,看看是否有帮助。