Hi all! I got no clue were to post this kind of problem, so I’m hoping to do the right thing. I was working at the “Writing Error Checking Code” lecture, and everything was going well, but when I tryied to debug right after adding “EGuessStatus Status = BCGame.CheckGuessValidity(Guess);” in the PlayGame() method, everything went wrong, and Visual Studio got me 4 errors that seems absolutely unlinked to the script itself, and I really don’t know what to do.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error : The source file for this compilation can be found at: "C:\Users\User\AppData\Local\Temp\af3d241a-deb2-4a4d-afc6-2f8f9a6e897b.txt"
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. error CS0583: Internal compiler error (0xc0000005 all'indirizzo 5C9E7C19): probably due to 'BEGIN'.
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. error CS0587: Internal compiler error: phase 'BEGIN'
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4036: The "SetEnvironmentVariable" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory.
Really, I got no idea what’s going on. As I said, I don’t think this problems are due to my code, I belive it’s something about some folder destination maybe. In any case, here’s my code:
Thank you very much, I really hope someone could help me, because I’m totally stuck!