Azure Artifacts Credential Provider
We need credential provider to able to install NuGet private packages. Github Azure Artifacts Credential Provider
Installation
- Download the latest release of Microsoft.NuGet.CredentialProvider.zip
- Unzip the file
- Copy the
netcore(andnetfxfor nuget.exe) directory from the extracted archive to$env:UserProfile\.nuget\pluginsor(%UserProfile%/.nuget/plugins/)
Install project
dotnet restore --interactive
Run dotnet app
dotnet run
Development SSL certifitcates
dotnet dev-certs https --cleandotnet dev-certs https --trust
Upgrade dotnet
Remove previous version sudo apt remove 'dotnet*' 'aspnet*' 'netstandard*'
Install SDK sudo apt-get update && sudo apt-get install -y dotnet-sdk-9.0
Reference
https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#supported-distributions