I am trying to create a nuget package for my web application but it is not producing any .nupkg outputs. I am using Visual Studio 2017 15.3.0.
To create the project I do the following:
- File - New - Project,
- Visual C# - Web,
- Asp.Net Core Web Application,
- Web Application
Then I go to a command prompt in the directory with the csproj file in and type: "Dotnet Pack"
I get only the following output:
Microsoft (R) Build Engine version 15.3.409.57025 for .NET Core Copyright (C) Microsoft Corporation. All rights reserved.
But no nuget packages are created. I am expecting something like:
Producing Nuget Package "App.1.0.0" for App
Do I need to do anything else eg to the csproj file ?
dotnet publish
to generate a published output and then useocto pack
on that output. Please consult its documentation. – Martin Ullrich