locked
Problem Creating new project from a VS2008 IWizard assembly project template RRS feed

  • Question

  • I have created an IWizard assembly that should take in parameter values (via Windows Form) and insert them where called for by the code contained in a VS 2008 Project template. Here is the article I used to set this up.

    Here's the problem, when I create a new project based on the template, it throws an error stating, "Object reference not set to an instance of an object." I put Message boxes all throughout the RunStarted method in the IWizard class, but none of them show.

    [Update] I attached an instance of VS 2010 to the instance of VS 2008 in which I was created a new project from the template wizard, and saw the following in the output:

    The thread '' (0xc0c) has exited with code 0 (0x0).

    Has anyone got an idea of where I can begin to debug this or what I might be doing wrong?


    Jason Knight Developer, Saltus Technologies LLC
    Tuesday, December 20, 2011 5:55 PM

All replies

  • The thread exit is likely uninteresting. Attach the debugger, set it to break on first chance NullReferenceException and repro the failure.

    Ryan

    Tuesday, December 20, 2011 6:04 PM