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,466,657
Community Members
 
Community Events
176
Community Groups

Using Bamboo to build and publish a .NET Core app

I have a .NET Core 2.0 application being built and published to PCF.  I have all my stages and scripts to build and publish to PCF working correctly.  The problem is one of the dependencies nuget package is built by the DotNetCore.Version 2 agent in Bamboo is downloading an older version of the package.  The app is looking for assembly.dll v2.0 but when Bamboo builds the app it publishes assembly.dll v1.0.  The app.deps.json has the correct version number but somehow that does not work.  I tried to add a script to dotnet add the nuget package just before the dotnet publish command but it still download the assembly.dll version 1.0.

Is there anyone who can assist me in figuring how can I get the dotnetcore agent in Bamboo to download the right assembly version when publishing the app?

FYI - I did add the assembly file directly to the source code and to copy it to the bin dir when it builds but the publish command still overwrites this assembly.

1 answer

Hi! 

 

Sorry, better way is fix build stages before start deployments and build msi shared artifact

 https://campus.barracuda.com/product/networkaccessclient/doc/77400396/how-to-build-an-msi-package-from-the-exe-installer/

 

then through deployment plan deploy those shared artifacts

 

 

 

 

Cheers,

Gonchik Tsymzhitov

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events