Using two different versions of same the nuget package

后端 未结 2 1074
失恋的感觉
失恋的感觉 2021-01-01 15:13

I wanted to use two different version same library (OpenCVSharp 2.x and OpenCVSharp 3.x) Well i downloaded those two packages both to the separate project (lets call it OCV2

2条回答
  •  天涯浪人
    2021-01-01 15:39

    OK so, I solve this by downloading whole sourcecode for 2.X wrapper version. Renamed its namespace to ABCDEF2 where ABCDEF was original namespace. Build my own nuget package with my own key and... publish it to our private nuget server. This is such a lame solution but there is no other way than manually downloading the original packages and reference it directly with different filename etc and you loose nuget advantages.

提交回复
热议问题