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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,304
Community Members
 
Community Events
184
Community Groups

Bamboo build fails when tried to run Tests project visual studio

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.

1 answer

Any answer to this ? Is it still open ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events