gadar-oops 1.0.0

There is a newer version of this package available.
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                
#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                

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:

  1. Restore NuGet packages.
  2. Build the project in Release configuration.
  3. Automatically version the NuGet package using the build ID.
  4. Create a NuGet package.
  5. Push the NuGet package to NuGet.org.
  6. Publish the build artifacts.

Setting Up the Pipeline

  1. Navigate to your Azure DevOps project.
  2. Go to Pipelines > Create Pipeline.
  3. Connect to your repository and select the azure-pipelines.yml file.
  4. Save and run the pipeline.

Authentication

To authenticate the pipeline to push to NuGet.org, you need to:

  1. Generate an API key from NuGet.org.
  2. 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.

Version Downloads Last updated
1.0.0.251 72 7/25/2024
1.0.0.244 68 7/24/2024
1.0.0 72 7/24/2024

Summary of changes made in this release of the package.