I would like to rebuild my solution using MSBuild on the command line. While I use this command
C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe d:\WorkCopy\AppServer.sln /t:Rebuild
But when I changed or deleted the file, the restore failed. I get the following error code
Ulohy\GetUlohy.cs(27,33): error CS0246: The type or namespace
name 'PocitacZaznamov' could not be found (are you missing a using directive or
an assembly reference?)
But when I use the Visual Studio recreation command, the solution builds fine. I assume that I am missing some option for MSBuild ..
source
share