Visual Studio crash when creating blank window


Right-click project -> Add -> New item -> WiseJ -> Empty Window (top item)

Visual studio crashes.  The crash does not happen when selecting the 2nd “Empty Window” item.

(I’m not sure why there are 2)

Visual Studio 2013 Update 5, WiseJ

Stack from Event Log:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
at Wisej.Web.Design.Wizards.InheritancePickerUI.LoadTypes(System.Object)
at Wisej.Web.Design.Wizards.InheritancePickerUI.InheritancePickerUI_Load(System.Object, System.EventArgs)
at System.Windows.Forms.Form.OnLoad(System.EventArgs)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WmShowWindow(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Form.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)

Faulting application name: devenv.exe, version: 12.0.40629.0, time stamp: 0x5590c8a4
Faulting module name: KERNELBASE.dll, version: 10.0.14393.953, time stamp: 0x58ba586d
Exception code: 0xe0434352
Fault offset: 0x000da882
Faulting process id: 0x13b4
Faulting application start time: 0x01d2a97e2d1f1515
Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 1e62d48d-b2f7-4893-bdf8-2076cfd19afe
Faulting package full name:
Faulting package-relative application ID:


  • You must to post comments

The second “Empty Window” is supposed to be “Inherited Window”, that’s why it tries to load the InheritancePickerUI using the designer wizard. There are still problems in the VB.NET templates thanks to the magic of copy & paste. The error loading the wizard is most likely caused by VS loading multiple versions of the same assembly. Usually cleaning the project, closing VS and reopening it works. Make sure you don’t have Wisej.Core.Design and Wisej.Web.Design referenced.

You can find the updated templates here:

They go into C:\Users\{User}\Documents\Visual Studio 2015\Templates

ItemTemplates and ProjectTemplates

in \Visual Basic\Wisej and Visual C#\Wisej

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.