Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Bamboo build got failed with error: MSB4019 and MSB1009

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]

 

1 answer

0 votes
Chris Berry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 22, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events