Search code examples
c#visual-studio-2010azure

The element <#text> beneath element <Target> is unrecognized in Azure


Have a big problem here. I can't open any type of project in Visual Studio. Even when I creating a new one I get the error:

the element <#text> beneath element is unrecognized. C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Windows Azure Tools\1.6\Microsoft.WindowsAzure.targets.

If any one know please help me.


Solution

  • This sure is a installation error and i would suggest don't try to fix because there may be more such errors. I have seen a few of such errors during my work with partners and mostly these errors are caused by botched installation due to real-time, virus scanner or some unknown issues in the machine.

    Here is what I could suggest:

    1. Uninstall Azure SDK completely, (check program list for any Azure related entry and uninstall)
    2. Restart your machine to clean from any residual setting or script running
    3. Download the SDK (if Web Deploy gave you error, try downloading full SDK here)
    4. Disable Virus scanner for a while or any real time file system or script monitoring tool (disconnect the machine from internet if you have concern)
    5. Install the SDK components.

    It worked in past so I hope it will work with you as well.