See our new Wiki!
This wiki is in legacy mode. Check our new wiki here!
Deployments Nuget.org
Nuget.org using AppVeyor
-
Create your nuget package:
- NET Standard package:
- You can manually Add package metadata to the project file
- Or do it using Visual Studio UI
- Other types of projects: See guide
- NET Standard package:
-
Open your AppVeyor account and link your repo to the CI.
-
Go to the Configuration > Settings > General and configure your Project Version and enable .NET Core .csproj patching.
-
Go to Build option (left menu) and enable Package NuGet projects. In case of issues compiling, under before build script you can add a CMD: nuget restore.
-
Before continuing, you’ll need to create an API Key from nuget.org. Login into your account and click on your user profile (top-left menu), open API Keys and Create a new one.
-
Back to AppVeyor, go to Configuration > Settings > Deployment and configure it as shown here:
-
Deployment provider: NuGet.
-
API Key: PASTE_YOUR_API_KEY
-
Deploy from branch: If needed select an specific branch to deploy.
-
-
Go to Export YAML (Left menu) and copy that file into your repo root folder. Customize it if needed. For example, we provide versioning directly on the file: Vortex/appveyor.yml
FAQ
- LicenseUrl is deprecated for Nuget Packages:
- Update your project properties (on Visual Studio left click on your project -> Properties -> Package) and select the file with your LICENSE.
- More info
Equilaterus (CC-BY) 2018 - 2022.