Login Register
Code2night
  • Home
  • Guest Posts
  • Blog Archive
  • Tutorial
  • Languages
    • Angular
    • C
    • c#
    • C#
    • HTML/CSS
    • Java
    • JavaScript
    • Node.js
    • Python
    • React
    • Security
    • SQL Server
    • TypeScript
  • Post Blog
  • Tools
    • JSON Beautifier
    • HTML Beautifier
    • XML Beautifier
    • CSS Beautifier
    • JS Beautifier
    • PDF Editor
    • Word Counter
    • Base64 Encode/Decode
    • Diff Checker
    • JSON to CSV
    • Password Generator
  1. Home
  2. Blogpost

Create and publish a package using Visual Studio (.NET Framework, Windows)

Date- Feb 06,2022

6779

Windows) Image compress

Step 1.) In Visual Studio, choose File > New > Project, select the Visual C# node, select the "Class Library (.NET Framework)" template, name the project ImageOptimizer, and click OK.









How to Create and Upload a Nuget Package for .NET Framework Class Libraries

1)Sign up for a nuget account - https://www.nuget.org/

2)Download the "nuget.exe" CLI utility  https://www.nuget.org/downloads  place in C:\windows

3)Create a Class DLL

4)Fill in the Assembly Info

5)Create the nuspec file using "nuget spec filename.csproj" command

6)Edit Licensing info in nuspec xml file

7)Create the nupkg file using "nuget pack" command

8)Upload the nupkg file to www.nuget.org

9)Helpful URLs https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-visual-studio?tabs=netcore-cli














S
Shubham Batra
Programming author at Code2Night — sharing tutorials on ASP.NET, C#, and more.
View all posts →

Related Articles

Test Scheduler
Aug 05, 2022
ConfigurationBuilder does not contain a definition for SetBasePath
Mar 03, 2021
The Extender Provider failed to return an Extender for this object
Aug 25, 2022
Features of .Net core 7
Apr 18, 2023

Comments

Contents

More in NET

  • DevExpress Dropdown Items Overlapped by Popup 4804 views
  • The underlying connection was closed: An unexpected error oc… 3714 views
  • Publish in local folder 3182 views
View all NET posts →

Tags

AspNet
C#
programming
AspNet MVC
c programming
AspNet Core
C
software development
tutorial
MVC
memory management
Paypal
coding
coding best practices
data structures
programming tutorial
tutorials
object oriented programming
Slick Slider
StripeNet
Free Download for Youtube Subscribers!

First click on Subscribe Now and then subscribe the channel and come back here.
Then Click on "Verify and Download" button for download link

Subscribe Now | 1760
Download
Support Us....!

Please Subscribe to support us

Thank you for Downloading....!

Please Subscribe to support us

Continue with Downloading
Be a Member
Join Us On Whatsapp Join Us On Facebook
Code2Night

A community platform for sharing programming knowledge, tutorials, and blogs. Learn, write, and grow with developers worldwide.

Panipat, Haryana, India
info@code2night.com
Quick Links
  • Home
  • Blog Archive
  • Tutorials
  • About Us
  • Contact
  • Privacy Policy
  • Terms & Conditions
  • Guest Posts
Free Dev Tools
  • JSON Beautifier
  • HTML Beautifier
  • CSS Beautifier
  • JS Beautifier
  • Password Generator
  • QR Code Generator
  • Hash Generator
  • Diff Checker
  • Base64 Encode/Decode
  • Word Counter
By Language
  • Angular
  • C
  • c#
  • C#
  • HTML/CSS
  • Java
  • JavaScript
  • Node.js
  • Python
  • React
  • Security
  • SQL Server
  • TypeScript
© 2026 Code2Night. All Rights Reserved.
Made with for developers  |  Privacy  ·  Terms
Translate Page