I have a class library in Visual Studio 2017, .Net Framework 4.6.2. I need to convert it to a Nuget package and I'm having a hard time using command prompt and nuspec file with project references. Therefore, continuing my research, I found that there is 'Generate Nuget package on build' in VS 2019.
https://learn.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-visual-studio?tabs=netcore-cli
I do not see this command in VS Professional 2017 (version 15.9.21). Is it possible to have this option in VS 2017? Please advise. If not, I will have to install VS 2019. Also please let me know if 'Generate Nuget package on build' is available for both .Net core and .Net Standard version. Asking since the video on that page uses .NET core