gadar-oops
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package gadar-oops --version 1.0.0
NuGet\Install-Package gadar-oops -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="gadar-oops" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add gadar-oops --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: gadar-oops, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install gadar-oops as a Cake Addin #addin nuget:?package=gadar-oops&version=1.0.0 // Install gadar-oops as a Cake Tool #tool nuget:?package=gadar-oops&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CI/CD Pipeline
This project uses Azure Pipelines for continuous integration and continuous deployment. The pipeline is defined in the azure-pipelines.yml
file.
Pipeline Configuration
The pipeline is configured to:
- Restore NuGet packages.
- Build the project in Release configuration.
- Automatically version the NuGet package using the build ID.
- Create a NuGet package.
- Push the NuGet package to NuGet.org.
- Publish the build artifacts.
Setting Up the Pipeline
- Navigate to your Azure DevOps project.
- Go to Pipelines > Create Pipeline.
- Connect to your repository and select the
azure-pipelines.yml
file. - Save and run the pipeline.
Authentication
To authenticate the pipeline to push to NuGet.org, you need to:
- Generate an API key from NuGet.org.
- Store the API key in Azure DevOps as a secret variable named
NUGET_API_KEY
.
Azure Pipelines YAML Configuration
Here is the azure-pipelines.yml
file used for the pipeline:
trigger:
- main
pool:
vmImage: 'windows-latest'
variables:
buildConfiguration: 'Release'
NUGET_API_KEY: $(NUGET_API_KEY)
steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '6.x.x'
installationPath: $(Agent.ToolsDirectory)/dotnet
- task: NuGetToolInstaller@1
- task: NuGetCommand@2
inputs:
restoreSolution: '**/*.sln'
- task: DotNetCoreCLI@2
inputs:
command: 'build'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
inputs:
command: 'pack'
packagesToPack: '**/*.csproj'
versioningScheme: 'byBuildNumber'
buildProperties: 'Configuration=$(buildConfiguration)'
- task: NuGetAuthenticate@1
- task: DotNetCoreCLI@2
inputs:
command: 'push'
packagesToPush: '**/*.nupkg'
nuGetFeedType: 'external'
publishVstsFeed: false
nuGetFeedPublishUrl: 'https://api.nuget.org/v3/index.json'
nuGetFeedApiKey: '$(NUGET_API_KEY)'
- task: PublishPipelineArtifact@1
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifact: 'drop'
publishLocation: 'Container'
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Summary of changes made in this release of the package.