Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dgmjr committed Sep 30, 2023
1 parent 0a53e51 commit ac9a158
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
authors:
- dgmjr
- dgmjr
title: NuGetPush Readme
lastmod: 2022-11-27-05:00:50.000Z
date: 2022-11-27-05:00:49.000Z
lastmod: 2022-11-27T05:00:50.000Z
date: 2022-11-27T05:00:49.000Z
license: MIT
type: readme
slug: nugetpush-readme
Expand All @@ -15,7 +15,27 @@ description: This is a simple MSBuild task that allows you to push a NuGet packa

This is a simple MSBuild task that allows you to push a NuGet package to a NuGet server.

## Usage
## Getting Started

First, you need to insert a reference to the SDK into your project like this:
=== "Using `global.json`"

You can reference the SDK in your `global.json` file:

```json
"msbuild-sdks": {
"NuGetPush": "<VERSION>"
}
```

=== "Using the `Sdk` project element

You can also refer to the SDK with an `Sdk` project element.

!!! Note "If you select this way, you need to supply it with a version number."

```xml
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="NuGetPush" Version="<VERSION>" />
</Project>
```

0 comments on commit ac9a158

Please sign in to comment.