【发布时间】:2014-06-12 21:57:25
【问题描述】:
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 框架
但我不确定……会不会?
- P.S 我是新来的(到目前为止是第 2 篇文章),如果有什么看起来很奇怪的话 “总部”对不起:/
【问题讨论】:
-
这是 ASP.NET、Windows 窗体还是 WPF?
-
@JohnSaunders 似乎是
Windows Application
标签: c# asp.net .net vb.net windows