Publish your package to Nuget

1. Create a new .NET Standard class library project

2. Select the project to be familiar with, and fill in our nuget package information under the package column

3. Select our project and click "Pack" to package

The main thing to note is that the generation configuration needs to be changed to Release

4. Then you can see our packaged nuget package in our project bin\Releasedirectory

5. Open https://www.nuget.orgRegister an account or log in with a Microsoft account, and select under the user menu in the upper right cornerUpload Package

6. Click "Browse", select the file we just packaged, it will automatically upload and pop up a confirmation confirmation page

7. Click Submitto publish our package

Details:

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324527444&siteId=291194637