Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Answered Cannot debug on local machine

  • Saturday, February 25, 2012 1:19 PM
     
     

    Hello everyone!

    I've just installed the Azure Tools for MS Visual Studio and created a template project with a worker role and a web role. Everything went well but I can't seem to start successful debug session on my local machine.

    I checked every potential problem (selected startup project, etc.) and I still can't find the cause. In my opinion, it looks like a MS bug, but I rather be wrong.

    Here's the description of my issue: When I hit the debug button (or F5), Visual Studio successfully runs the build, starts storage & compute emulators and begins the deployment process. After few seconds it fails with an exclamation message box:

    "Windows Azure Tools for Microsoft Visual Studio
    Object reference not set to an instance of an object."

    I'm using Visual Studio 2010 SP1 with Azure Tools (Nov 2011), NuGet extension and TFSPreview update. My computer runs on Win7 Ultimate 32-bit.

    Thanks in advance,
    Pete.

All Replies

  • Monday, February 27, 2012 12:19 AM
     
     Answered
    First try to start the application without debugging. If something goes wrong, you will see a more detailed error message. If it still doesn't work, try to reinstall Windows Azure.