dahall / AeroWizard

Library for easy creation of custom and Aero Wizards. Aero Wizard strictly follows Microsoft guidelines and uses Visual Styles to get visual theming.
MIT License
112 stars 32 forks source link

NullReferenceException in DesktopWindowManager.cs (VS 2012 Only) #25

Closed dahall closed 6 years ago

dahall commented 6 years ago

I get a NullReferenceException when trying to use the AeroWizard Control template item in a new project. It seems it's happening in DesktopWindowManager somewhere.

Note: This does not happen for the "Wizard97" or "Custom Wizard" controls. Using VS 2012, Works fine in VS 2015

Originally posted: 2015-10-21T15:28:15

dahall commented 6 years ago

I've done a walkthrough of the code and can't find anything with just a visual review. Are there any details you can provide like the full exception detail or the activity being performed when the exception occurs?

Originally posted: 2015-10-30T08:58:14

dahall commented 6 years ago

Hi dahall,

Apologies for the mega delay. This is working in VS2015 but not in VS2012.

Attached is a minimal example project for VS2012 which demonstrates the issue on my machine.

Here's the detail:

System.NullReferenceException occurred HResult=-2147467261 Message=Object reference not set to an instance of an object. Source=AeroWizard StackTrace: at Microsoft.Win32.DesktopWindowManager.DesktopWindowManager.MessageWindow.ExecuteEvents(Int32 idx) InnerException: null

Please let me knwo if you can run the attached proejct and launch the AeroWizard button successfully in VS2012.

Thanks for everything!

Originally posted: 2016-08-25T13:50:29

dahall commented 6 years ago

I'm so sorry, but I have upgraded the project to VS2015 and no longer have VS2012 available. I opened the ZIP file and ran the program in the Debug folder without any error on Win10.

Originally posted: 2016-08-27T11:19:14

dahall commented 6 years ago

Unable to duplicate error.

Originally posted: 2017-03-13T11:22:14