managing non-nuget dlls along with nuget packages

前端 未结 1 1211
没有蜡笔的小新
没有蜡笔的小新 2021-01-21 15:13

Are there any guidelines or recommendations for managing libraries that aren\'t on nuget along with the packages that are.

Most of these may be 3rd party libraries that

相关标签:
1条回答
  • 2021-01-21 15:56

    My Personal Preferences (In Order)

    1. Create a package and add it to NuGet (if licensing allows)
    2. Create a package and put it in a private repository
    3. Create a folder in the solution, store them all in there, add them to source control. Different folder than the nuget packages folder as it's clearer what it is and I don't add nuget dlls to source control.

    For 1 & 2 i would recommend using Restore Package on build rather than storing it in your source control.

    I'd also highly recommend against referencing any 3rd party controls from install folders or the GAC.

    0 讨论(0)
提交回复
热议问题