You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
When I ran Bamboo build plan, it got failed with errors. Please help to me fix this issue.
Error summary for Default Job
MSBUILD : error MSB1009: Project file does not exist.
Switch: C:\Windows\system32\config\systemprofile\AppData\Local\Temp\NuGetScratch\corcd4dw.was.nugetinputs.targets
Project "C:\Bamboo-Agent-Home\xml-data\build-dir\CRON-DR-JOB1\RMI.Tests\RMI.Tests.csproj" on node 1 (default targets).
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\Microsoft.CSharp.CurrentVersion.targets(322,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\Bamboo-Agent-Home\xml-data\build-dir\CRON-DR-JOB1\RMI.Tests\RMI.Tests.csproj]
"C:\Bamboo-Agent-Home\xml-data\build-dir\CRON-DR-JOB1\RMI.Tests\RMI.Tests.csproj" (default target) (1) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\amd64\Microsoft.CSharp.CurrentVersion.targets(322,5): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\Roslyn\Microsoft.CSharp.Core.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. [C:\Bamboo-Agent-Home\xml-data\build-dir\CRON-DR-JOB1\RMI.Tests\RMI.Tests.csproj]
Hi Divakar,
From the error seen the projects you are trying to import do not exist.
What <Import> directives have you set in the RMI.Tests\RMI.Tests.csproj file?
The issue looks to be that the csproj file is not looking in the correct location for these target files or that the targets have not actually been installed...The issue looks to be similar to the below article and not specific to Bamboo..
https://stackoverflow.com/questions/47260114/microsoft-csharp-core-targets-missing
Let us know if this helps..
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.