Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bamboo task doesn't download packages @ VS Builder

Anton Drozdov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2018

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
Gonchik Tsymzhitov
Community Champion
February 18, 2021

Looks like it's problem with agent

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events