How to Create and Publish a NuGet Package to an Internal Feed using Azure Devops Pipelines

Sdílet
Vložit
  • čas přidán 30. 05. 2022
  • Hi everyone!
    Today I am going to show you how to create a NuGet package library and automatically build, test, pack and publish it to an internal NuGet feed using Azure Devops build pipelines. I will take you through the steps from repo and feed creation, to library and test creation, all the way through to automating the packing and publishing of the NuGet package via an azure devops pipeline with automatic versioning.
    I will then describe how to connect to the feed from visual studio or another project or solution.
    You’ve clearly come here to learn and a free audible trial allows you to increase your learning potential in situations where you may be hands free like at the gym or on your commute. It allows you to spend more time on theory when you aren’t able to watch a screen, so that you can maximise your screen time to pick up technical skills. Try it for free today:
    amzn.to/3ECMsom
    // ABOUT ME
    My name is Chelsea and I started studying software engineering in 2010. I have been working commercially full time since 2014 and have been in various positions from graduate developer to tech lead to solution architect.
    I'm a full stack developer with a lot of experience in C# and Javascript but my passion is for mobile development; specifically native iOS development and cross platform using React Native.
    I always have many things on the go and am always trying out a new side hustle and failing at it; perhaps you can learn from my mistakes!
    Please like and subscribe if you enjoyed this video and want to see more like it!
    Have any suggestions on topics you would like to learn more about? Please suggest them in the comments... I would love to help you out while doing a bit of learning myself!
    // PRODUCTS USED
    I use the following products in the creation of my videos:
    Boya MM1 Microphone - amzn.to/3m6kif7
    A reasonable quality and reasonably sturdy but cost effective microphone that can be used by both DSLR cameras, mobile phones and laptops
    Canon 18-55mm Lens - amzn.to/3IwscFR
    A kit lens but a decent quality lens for beginners getting used to a DSLR
    Canon EOS Rebel T7 with 18-55mm Lens - amzn.to/3XZauAL
    This is the kit I started with it includes the lens linked above and is a great starter camera.
    I love Apple devices... These are the ones I use for my channel content creation:
    Apple iPhone 13 - amzn.to/3KAUba4
    A good all round phone, good for Apple development and recording videos with enough high quality features but at a cheaper price point than the pro versions.
    Apple MacBook Pro - amzn.to/3KxrE5q
    A nice portable computer for working from anywhere and perfect for iOS development
    Apple iPad Air - amzn.to/3xU2k21
    Really easy to use for graphic design if required for logos as part of my app development or editing the videos on the go.
    Apple Pencil (2nd Generation) - amzn.to/3EBSwNS
    For logo and icon design in Affinity Designer app for iPad
    Logitech Folio Keyboard Touch - amzn.to/3XUYBM1
    Adds keyboard and touchpad to iPad Air, making it easier to use for writing code/eBooks etc. on the go!
    DISCLAIMER: Links included in this description might be affiliate links. If you purchase a product or service with the links that I provide I may receive a small commission. There is no additional charge to you! Thank you for supporting my channel so I can continue to provide you with free content each week!
    //CONTACT:
    Please contact me at: hello@tripwiretech.com
    //CRAVING MORE:
    You can find links to all my different sites and social media over on Linktree: linktr.ee/misscoding
  • Věda a technologie

Komentáře • 15

  • @mrs999mrs999
    @mrs999mrs999 Před 2 lety +1

    Great video. Your cadence and overall presentation was great.

  • @jorgerodriguezdelavega6718

    Great video and explanations! It was my first time creating a nuget package and I got it working in 10 minutes. Thank you!

  • @evertonmouraeverton6498

    thank you very much, it helped me

  • @yeica
    @yeica Před 4 měsíci

    excellent video, thank you

  • @atharvagupta9355
    @atharvagupta9355 Před 2 lety

    awesome video. Do you by any chance have this yaml code somewhere? I want to edit and use it for my project, but I don't see it in your GitHub repo. Any help would be much appreciated!

  • @brunowillian362
    @brunowillian362 Před rokem

    Hi there, thanks for the great tutorial. Quick question, since you've added .gitignore, bin and obj folders will not be commited, when the second job runs, the respository will be checked out again and you won't be able to find the project dll (that's what's happening to me right now), I wonder if your gitignore dindn't ignore those folder for your pipeline to run

  • @raghur5678
    @raghur5678 Před rokem

    thanks for the video.. my question is i have two organisations , i want to push the Nuget packages to the Both organisation. how can i push it. is that possible? can yu plz help me in this

  • @cornemouton2740
    @cornemouton2740 Před rokem +1

    If your 'pack' is failing, can't find the dll, ensure you have 'GeneratePackageOnBuild' turned off. (Project properties)

  • @holm76
    @holm76 Před rokem

    How would I make Nuget Package Version follow Assembly Version?

  • @bharathsimha2822
    @bharathsimha2822 Před rokem

    Hi we are using now jfrog artifactory present we are moving jfrog artifactory to azure artifacts please guide how to use the azure artifacts and azure feed the project is total salesforce..

  • @eduarfabricioanayaramirez9947

    Hello, I have a 401 error when adding the nuget source in visual studio, has this happened to anyone else?

  • @fadge316
    @fadge316 Před rokem

    Anyone else getting an failure when restoring? Any help? It seems to fail restoring the test project because it cannot access the actual package

  • @alexei6557
    @alexei6557 Před rokem

    I have that error : Info: Azure Pipelines hosted agents have been updated and now contain .Net 5.x SDK/Runtime along with the older .Net Core version which are currently lts. Unless you have locked down a SDK version for your project(s), 5.x SDK might be picked up which might have breaking behavior as compared to previous versions.
    Anyone has the same?