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.
Looks like it's problem with agent
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.