All my C # 2010 projects stopped loading today

Today I tried to open one of my Visual Studio 2010 Express Edition projects and was unable to open it. I thought that maybe the file is damaged or something like that, but it turns out that all my projects do this, including those that I have not touched for several months! This is the error message I get:

D:\CSharp\Sandbox\MustardApplication1\MustardApplication1\MustardApplication1.csproj : error  : Unable to read the project file 'MustardApplication1.csproj'. 
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1693,24): The project file could not be loaded. '', hexadecimal value 0x0C, is an invalid character. Line 1693, position 24.

I have no idea what this is talking about, and I don’t know what to do next. I can’t even create a new “Windows Forms application”; I get the same error message. Can anyone help me out?

+3
source share
3 answers

Somehow your Microsoft.Common.targetsgot damaged.

, 0x0C ASCII ( ESC IIRC).

( 1693, col 24) .

, / .NET 4.

, Windows 7, " ".

+1

MSBuild .targets , . XML, 0x0C, , .

, , Notepad ++ , , , , , , . , : (

, , .

+1

VS2010 VS2008. , McAfee, VS2010, , " ". , .

0

Source: https://habr.com/ru/post/1765096/


All Articles