dotnet build CredentialProvider.Microsoft --configuration Release
In this and subsequent examples, configuration can be either debug
or release
.
dotnet publish CredentialProvider.Microsoft --configuration Release --framework net6.0
dotnet pack CredentialProvider.Microsoft --configuration Release
For CI builds, you can append a pre-release version:
dotnet pack CredentialProvider.Microsoft --configuration Release /p:NuspecProperties=VersionSuffix=-MyCustomVersion-2
When releasing a new version, update the CredentialProviderVersion property in Build.props