Asked By
ScottBrown
0 points
N/A
Posted on - 08/15/2011
Hi Experts,
I am running Windows 7 Pro with 4GB RAM. I used my Admin account to install all my software applications on this machine.
I am not able to succeed in getting my Microsoft Visual Studio 2010 work with Windows Phone developer tools. I am getting an error message. I have tried to repair both MS VS and Windows Phone developer tools, but in vain.
Any ideas?
                                      Â
Microsoft Visual Studio 2010 Express for Windows Phone
Object reference not set to an instance of an object.
Visual Studio 2010: Object Reference Not Set to an Instance of Object
Â
Hello,
This issue occurs, when a project contains a web reference, or when you save a project with XML attributes and they are not in their valid project path. To solve this problem, avoid using attribute characters that are not valid, like # and & characters in your project path.
To reproduce this issue:
-
Start your Visual Studio on the file menu, click new ; then project and click Visual Basic projects ; lastly click your Windows application. Type the following location box , then OKÂ Drive_Letter:My&Directory
-
In the solution Explorer ; click Windows application1Â ; then add ; then click add user control, in the user control under templates section ; click open.
-
On the menu view ; click tool box ; Â then add the text box to the user control ; then in the build menu, click build solution.
-
In the solution Explorer, Â click Windows application1Â ; the add and click Inherit control ; then inherited user control ; then in the templates section click open. On the Inheritance Picker, click user control1.
-
Lastly in the add web reference box, type the web service in the URL and click add reference. Almost done. Â In your file menu, close all documents and open the usercontrol2.vb in your designer.