ILSpy won't open on Windows 7 Home
I'm getting the following error running the latest build (1.0.0.988) of ILSpy on Windows 7 Home.
Windows is fully patched with latest Windows Updates.
Application: ILSpy.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeLoadException Stack: at System.Xaml.XamlNodeQueue..ctor(System.Xaml.XamlSchemaContext) at System.Windows.Baml2006.Baml2006Reader.Initialize(System.IO.Stream, System.Windows.Baml2006.Baml2006SchemaContext, System.Windows.Baml2006.Baml2006ReaderSettings) at System.Windows.Baml2006.Baml2006Reader..ctor(System.IO.Stream, System.Windows.Baml2006.Baml2006SchemaContext, System.Windows.Baml2006.Baml2006ReaderSettings, System.Object) at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean) at System.Windows.Application.LoadComponent(System.Object, System.Uri) at ICSharpCode.ILSpy.App..ctor() at ICSharpCode.ILSpy.App.Main()
I just tried Windows 7 Home Premium with both ILSpy 1.0.0.1000 and 2.0.0.1339. Both versions can be started without any error. Can you please give more details?
I'm on Windows 7 Home Premium (6.1 build 7601), logged in as a non-admin user.
I double click the exe, the task appears in task manager for a few moments then disappears. When I try running the app with elevated privileges, the same happens.
I get three entries in the Windows Application Log.
Entry 1
Application: ILSpy.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.TypeLoadException Stack: at System.Xaml.XamlNodeQueue..ctor(System.Xaml.XamlSchemaContext) at System.Windows.Baml2006.Baml2006Reader.Initialize(System.IO.Stream, System.Windows.Baml2006.Baml2006SchemaContext, System.Windows.Baml2006.Baml2006ReaderSettings) at System.Windows.Baml2006.Baml2006Reader..ctor(System.IO.Stream, System.Windows.Baml2006.Baml2006SchemaContext, System.Windows.Baml2006.Baml2006ReaderSettings, System.Object) at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean) at System.Windows.Application.LoadComponent(System.Object, System.Uri) at ICSharpCode.ILSpy.App..ctor() at ICSharpCode.ILSpy.App.Main()
Entry 2
Faulting application name: ILSpy.exe, version: 1.0.0.1000, time stamp: 0x4e21c133 Faulting module name: KERNELBASE.dll, version: 6.1.7601.17625, time stamp: 0x4de88429 Exception code: 0xe0434352 Fault offset: 0x000000000000cacd Faulting process id: 0x1fd8 Faulting application start time: 0x01cc4911120380ed Faulting application path: C:\Users\Greg\Downloads\ILSpy_1.0.0.1000_Binaries\ILSpy.exe Faulting module path: C:\Windows\system32\KERNELBASE.dll Report Id: 54580a1a-b504-11e0-8d5c-1c7508007ab6
Entry 3
Fault bucket 2161284752, type 5 Event Name: CLR20r3 Response: Not available Cab Id: 0
Problem signature: P1: ilspy.exe P2: 1.0.0.1000 P3: 4e21c133 P4: PresentationFramework P5: 4.0.0.0 P6: 4d5367fc P7: 68ff P8: 21 P9: System.TypeLoadException P10:
Attached files: C:\Users\Greg\AppData\Local\Temp\WER3515.tmp.WERInternalMetadata.xml
These files may be available here: C:\Users\Greg\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_ilspy.exe_614b3bc5cce3831383a7534f73bae733422de44f_1862533f
Analysis symbol: Rechecking for solution: 0 Report Id: 54580a1a-b504-11e0-8d5c-1c7508007ab6 Report Status: 0
If you provide me with the means, I can send you the error report attachment from the last Log entry.
Seems like WPF is broken on your system. Have you installed .NET Framework 4 Client + Extended? Could you please try repairing/reinstalling the framework?
Yep,
Uninstalled .NET 4.0 Client and 4.0 Extended and reinstalled the full framework from (http://www.microsoft.com/download/en/confirmation.aspx?id=17851) and it fixed it.
Thanks