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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi there,
So, even after installing Visual Studio 2019 on the bamboo build server, we are still running into the Tests project in Visual Studio throwing exceptions when trying to deploy the solution to our development server. To recap, the solution now has a new Tests project which uses .net framework 4.7.2 while all the other projects in the solution use 4.0 .net framework. In order to make sure the tests project run, I had the build server team install SDK .net framework 4.7.2 on the bamboo build server which he did by installing the VS 2019 and bringing back the most recent SDK with the install. Now, when I try to run the build from bamboo including the Tests project, the build fails. I get the error below.
Using shared compilation with compiler from directory: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\Roslyn
Core\Configuration\ConfigurationTests.cs(1,17): error CS0234: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) [D:\bamboo-home\xml-data\build-dir\WA-BTSBOA-JOB1\Source\BOA.Tests\BOA.Tests.csproj]
Core\Configuration\ConfigurationTests.cs(2,7): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?) [D:\bamboo-home\xml-data\build-dir\WA-BTSBOA-JOB1\Source\BOA.Tests\BOA.Tests.csproj]
Core\Configuration\ConfigurationTests.cs(7,6): error CS0246: The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?) [D:\bamboo-home\xml-data\build-dir\WA-BTSBOA-JOB1\Source\BOA.Tests\BOA.Tests.csproj]
Core\Configuration\ConfigurationTests.cs(7,6): error CS0246: The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?) [D:\bamboo-home\xml-data\build-dir\WA-BTSBOA-JOB1\Source\BOA.Tests\BOA.Tests.csproj]
When I exclude the Tests project, the build works just fine. What am I missing here? Sorry new to the bamboo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.