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

前端 未结 6 1874
盖世英雄少女心
盖世英雄少女心 2021-01-11 17:27

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> be

6条回答
  •  攒了一身酷
    2021-01-11 17:43

    I faced this problem too. The error text was:

    The element <#text> beneath element  is unrecognized.
    c:\Program Files (x86)\MSBuild\12.0\Bin\Microsoft.CSharp.CurrentVersion.targets
    

    The solution for me was to check the indicated file against a working one from one of my coleagues. Even an XML parser or even a browser would pop-up an error when faced to this sort of error. A element under was corrupt. Instead of I had exactly 07sc ... />. I fixed formatting and It worked. Mind you that the file indicated in the error text (Microsoft.CSharp.CurrentVersion.targets) was the guilty one. Hope this helps.

自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题