user2294434
user2294434

Reputation: 163

Creating nuget package in VS 2015, package tab not available

I am trying to create a nuget package from a class library project in Visual studio 2015, In Project properties ---> package tab is not available/ visible.

IN the package tab we define the nuget package details.

Is it because of the visual studio 2015 issue or should I look for it somewhere else ?

enter image description here

Upvotes: 0

Views: 108

Answers (1)

Mr Qian
Mr Qian

Reputation: 23715

VS2015 IDE does not support that.

The Package tab(Generate Nuget package on build) is the feature of new sdk style lib project.(Net Core and Net Standard).

And the new sdk projects are released since VS2017 while VS2015 does not support it -- You can not create any Net Core or Net Standard projects and only the Net Framework lib projects which does not contain the feature.

So you should use VS2017 or later VS and then create a Net Core or Net Standard lib project and then you can find it.

Upvotes: 1

Related Questions