Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo task doesn't download packages @ VS Builder

Edited

Hello everyone!

Could you help me to resolve one issue with compiling .dll from Solution file? 

The situation is:

Bamboo server is on Ubuntu, remote agent is on Windows Server with installed VS 2017 Community Edition.

I have 4 project inside my solution file, 3 have no dependencies and compile without errors, 1 have dependency of NUnit and log me next messages:

4>------ Build started: Project: Project.NUnit.Analytics, Configuration: Debug Any CPU ------
build 17-Jan-2018 10:55:35 4>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets(2041,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "nunit.framework, Version=3.9.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
build 17-Jan-2018 10:55:35 4>C:\Users\user\bamboo-agent-home\xml-data\build-dir\JOB1\Project.NUnit.Analytics\ValidationTest.cs(5,7,5,12): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)
build 17-Jan-2018 10:55:35 4>C:\Users\user\bamboo-agent-home\xml-data\build-dir\JOB1\Project.NUnit.Analytics\ValidationTest.cs(18,10,18,15): error CS0246: The type or namespace name 'SetUpAttribute' could not be found (are you missing a using directive or an assembly reference?)
build 17-Jan-2018 10:55:35 4>C:\Users\user\bamboo-agent-home\xml-data\build-dir\JOB1\Project.NUnit.Analytics\ValidationTest.cs(18,10,18,15): error CS0246: The type or namespace name 'SetUp' could not be found (are you missing a using directive or an assembly reference?)
build 17-Jan-2018 10:55:35 4>C:\Users\user\bamboo-agent-home\xml-data\build-dir\JOB1\Project.NUnit.Analytics\ValidationTest.cs(50,10,50,14): error CS0246: The type or namespace name 'TestAttribute' could not be found (are you missing a using directive or an assembly reference?)
build 17-Jan-2018 10:55:35 4>C:\Users\user\bamboo-agent-home\xml-data\build-dir\JOB1\Project.NUnit.Analytics\ValidationTest.cs(50,10,50,14): error CS0246: The type or namespace name 'Test' could not be found (are you missing a using directive or an assembly reference?)
build 17-Jan-2018 10:55:35 ========== Build: 3 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

In VS I checked to allow NuGet download missing packages.

Googled a lot but without results. 

 

1 answer

0 votes

Looks like it's problem with agent

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

65 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you