Teamcity error MSBuild 3202 file is not found
Hi. I am building on Teamcity server and it shows this error:
C:\Program Files\dotnet\sdk\3.1.414\NuGet.targets(282,5): error MSB3202: File "C:\BuildAgent\work\f30684b424400eb4\Engine\Source\Programs\MemoryProfiler2\MemoryProfiler2.csproj" not found.
I tried to change checkout directory by creating TBA folder and changing checkout directory to that folder. But problem still persists.
C:\Program Files\dotnet\sdk\3.1.414\NuGet.targets(282,5): error MSB3202: File "C:\TBA\Engine\Source\Programs\MemoryProfiler2\MemoryProfiler2.csproj" not found.
File "MemoryProfiler2.csproj" exists on TBA or BuildAgent, but folder "Engine" does not, while builder keeps searching for it.
What needs to be done? If you know how to solve it could you explain it in understandable instead of overly technical words.
- How did you run your build? If you run build over .sln file, could you try running a build from the command line?
- Example: dotnet build C:\BuildAgent\work\
f30684b424400eb4\my.sln - You can also try to run the following: dotnet build "C:\BuildAgent\work\
f30684b424400eb4\Engine\ Source\Programs\ MemoryProfiler2\ MemoryProfiler2.csproj" - Could you please try finding the file "C:\BuildAgent\work\
f30684b424400eb4\Engine\ Source\Programs\ MemoryProfiler2\ MemoryProfiler2.csproj" after a build on an agent computer?
- Build works locally but fails or misbehaves in TeamCity
Please sign in to leave a comment.