Creating one NuGet package from multiple projects in one solution

前端 未结 4 1462
孤街浪徒
孤街浪徒 2020-12-28 14:09

I have a solution that I\'m working on that contains 4 class library projects (A, B, C, D). A and B

4条回答
  •  醉话见心
    2020-12-28 14:30

    2020 UPDATE

    I personally prefer to use dotnetcommand wherever it is possible.

    The solution I found working out fine is changing the default project reference in the main project as below

      
        
          true
          {ProjectName}.dll
        
       
    

    This solution is confirmed that it works when targeting netstandard2.0and above.

提交回复
热议问题