Differences between nuget-packing a csproj vs. nuspec

后端 未结 4 1490
礼貌的吻别
礼貌的吻别 2020-12-13 17:27

Recently, I started to pack nuget packages out of my several projects. First I started with the Package Explorer application. It is a nice tool, but it\'s less useful if you

4条回答
  •  一整个雨季
    2020-12-13 17:42

    With a .csproj for Visual Studio 2017, you don't need a .nuspec file. You can actually add the values directly to your csproj and it will pick them up.

    Right click the project in Visual Studio, Edit xxxxx.csproj. Notepad works fine too.

    
      
        1.0.1
        Subtracts
        netstandard1.6;net452
        Checkout.net
        Checkout.net
    
    ...
    
    
    

    p.s. Since I don't have sufficient reputation to comment, I am leaving an answer instead of a comment on Xavier's answer. :)

提交回复
热议问题