NuGet Assembly outside lib folder

前端 未结 8 558
悲&欢浪女
悲&欢浪女 2020-12-08 12:59

I\'m going to bang out a couple of questions here...first, with NuGet is it possible to create a package from a few DLLs? There is no visual studio project, just the command

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 13:51

    If dependencies or libraries have been changed, old files affect the packaging operation.

    1. Remove obj and bin folders from project.
    2. Run dotnet restore
    3. Run nuget pack yournuspecfile.nuspec -properties Configuration=Release -IncludeReferencedProjects or your command whatever.

提交回复
热议问题