What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

My Links



Post Categories

Image Galleries

Check These Out


October 2017 Entries

.NET Core–Push Nuget Package After Build
You can configure .NET Core to automatically push your nuget package to the package server of your choice by adding a Target to your project file. 1) If your package server requires an api key, you can set it by calling nuget.exe SetApiKey <YourKey> 2) Add the following target to your csproj file. This sample is configured to only fire on Release Builds. <Target Name="PushTarget" AfterTargets="Pack" Condition=" '$(Configuration)' == 'Release'"> <Message Importance="High" Text="This ......

Posted On Thursday, October 26, 2017 2:38 PM | Comments (0) | Filed Under [ Visual Studio ]

Powered by: