Create NuGet Package in Azure DevOps (Artifact), and make a Git Repo hosted at Devops

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ม.ค. 2025

ความคิดเห็น • 14

  • @irpiggie
    @irpiggie ปีที่แล้ว +1

    Thanks for the guide. One question though, can other people outside of my organization see my package? I ask because when browsing my feed I am able to see other people's packages even though I am pointing the package source to the generated link provided by azure.

    • @irpiggie
      @irpiggie ปีที่แล้ว +1

      Nvm, I figured it out - I had nuget's public registry as an upstream source :)

    • @DataVids
      @DataVids  ปีที่แล้ว

      glad you figured it out! There should always be an option to make it public or private to the organization.

  • @b0mb3r0
    @b0mb3r0 ปีที่แล้ว

    Your awesome, thanks for this content

  • @bharathsimha2822
    @bharathsimha2822 2 ปีที่แล้ว +1

    Nyc video thank U. I need to need universal package in azure devops to use salesforce environment can you explain me the steps..

    • @DataVids
      @DataVids  2 ปีที่แล้ว

      Hi Bharath Simha, I have not personally worked with salesforce development but it appears your first step would be to start digging around in their documentation here: developer.salesforce.com/docs

  • @raghur5678
    @raghur5678 2 ปีที่แล้ว +1

    Thanks for the video, Developers need to use these packages to install locally, how can i give access without providing contirbutor access tothe Developers in Azure Artifacts. actually they were not able to install the packages

    • @DataVids
      @DataVids  2 ปีที่แล้ว

      Thats a great question! A coworker of mine recently showed me this. You give them the package files that they package up from their project using the command line (or building with the checkbox set in dotnet core/dotnet6/etc). Then, users should put packages they were manually shared in a folder, and go to package sources in visual studio (tools->options->Nuget Package Manager->package sources), and add a folder on their harddrive as the source instead of a web address. Then, they can select the package in the package manager for solution or project, just like if it was a hosted one!

    • @raghur5678
      @raghur5678 2 ปีที่แล้ว

      @@DataVids Thanks for the Reply... and when i directly gave them from VIsual studio... they are getting 401 errror. So what i found is Artifact credential Provider, with the help of that the Developers can use the Packages without any problm( correct me if i am wrong).
      But actually i am not able to Implement :)

  • @UCABVideos
    @UCABVideos 2 ปีที่แล้ว +1

    How can we perform this in pipeline directly

    • @DataVids
      @DataVids  2 ปีที่แล้ว

      This is a great question since a lot of us work on code libraries where as soon as we commit to a prod or dev branch in GIT we are then ready for the package to be used by our teammates. Microsoft now has a great article on this, and the copy/pastable pipeline part you want looks like it might be right at the top! Check it out: learn.microsoft.com/en-us/azure/devops/pipelines/artifacts/nuget?view=azure-devops&tabs=yaml
      ***************************************************
      - task: NuGetCommand@2
      inputs:
      command: pack
      packagesToPack: '**/*.csproj'
      packDestination: '$(Build.ArtifactStagingDirectory)'
      ***************************************************

    • @stevee2095
      @stevee2095 8 หลายเดือนก่อน

      @@DataVids Yes, use the simpler (but not trivial) way, using Pipelines, Feeds and Yaml. This video left me screaming "whhhhyyyy this is 2023+ not 2001 - a VS/Nuget Rabit-hole....."

  • @PIMARINE
    @PIMARINE 2 ปีที่แล้ว +2

    I like to upload my code into your repository. 😘 Get at me.😁🤣😁

    • @DataVids
      @DataVids  2 ปีที่แล้ว +1

      Lol good one. That code better be protected, don't want a computer virus.