NuGet Assembly outside lib folder

前端 未结 8 552
悲&欢浪女
悲&欢浪女 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:27

    Any dll that you want referenced should be under the lib folder. The warning is because file1.dll is outside lib and will be ignored during package installation. (Other special folder are "content" and "tools")

    I'd used this structure :

    Root
      - lib
        - File1.dll
        - File2.dll
        - File3.dll
    

    See : http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Package_Conventions for additional details.

提交回复
热议问题