Click here to Skip to main content
15,898,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 28-Feb-12 14:18pm
v2

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
 
Share this answer
 
Thank you for the input. I gave it a try and still no joy. I am all ears to any other suggestions.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900