Releases new model class package (for NuGet uploaded to the server)

Generate a package file:

  1, then modify the model class, right-click on the item, select "Edit ...... .csproj", then there will be three versions of numbers are replaced with a new version number in the list menu.

  2. Right project, click on the "package"

  3, copy output information generated folder package (note copy folder path) path, such as "1> Successfully created package 'D: \ ProjectCode \ ...... \ bin \ Debug \ ...... .1.8.5.nupkg ' "in the" D:. \ ProjectCode \ ...... \ bin \ Debug "(released does not affect the use Debug)

  4, need to be uploaded to the "...... 1.8.5.nupkg" package file is the file on the server folder under NuGet.

Upload NuGet server:

  1, open your own server and log NuGet

  2. Select the "Packages" in the header navigation bar, then click on the bottom "Add Package" button on the page

  3, select the corresponding Feed playing the box and click "Continue" button

  4, and then, you need to choose their own way to upload, here select "Upload From Disk"

  5, click on the "Choose File" button, switch to the file folder where the generated package, select the package file, click "Upload" button.

Guess you like

Origin www.cnblogs.com/zhangchaoran/p/11611992.html