locked
"object reference not set to an instance of an object" when creating a new smart device project

    問題

  • I am attempting to create a new mobile app using VB in visual studio 2008. I select "File" "New Project". Select "Smart Device" in new project window. Select the "Smart Device Project" from templates. Select ".NET Framework 3.5". Select "OK" and get the dreaded "object reference not set to an instance of an object"
     
    I have tried the following suggestion with no joy.
     
    This may be due to the per-user problem. You can execute the below in command prompt:
    "%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe" /ResetSkipPkgs
    Most likely this method (resetting skipped packages) can also solve some other "cryptic" per-user problems of Visual Studio 2008
     

    I have since unloaded and reloaded visual studio with the same results. Please help.
    2012年2月29日 下午 03:53

所有回覆

  • You may be wondering why there are no responses to your question. Probably because this is not a programming forum.

    This forum is dedicated to the Help System in Visual Studio. For programming questions, you'll get the best suggestions here:

    For VB: http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic


    Ulrich Kulle - Microsoft Help MVP - (2007-2009) - http://www.help-info.de

    2012年2月29日 下午 06:13