I have two .csproj projects named A and B under one solution file (.sln), I need to install a custom nuget package of version 1.0 in A and 2,0 in B. Is that possible? I have tried to install-package but it updates the solution. Both of them are now updated to 2.0.
我在一个解决方案文件(.sln)下有两个名为A和B的.csproj项目,我需要在A中安装1.0版本的自定义nuget包,在B中安装2.0.这可能吗?我试过安装包但它更新了解决方案。它们现在都更新为2.0。
1 个解决方案
#1
1
You can do it using the console instead the manager window,
您可以使用控制台而不是管理器窗口来执行此操作,
PM> Install-Package Newtonsoft.Json -Version 6.0.8
in the other project
在另一个项目中
PM> Install-Package Newtonsoft.Json -Version 5.0.3
#1
1
You can do it using the console instead the manager window,
您可以使用控制台而不是管理器窗口来执行此操作,
PM> Install-Package Newtonsoft.Json -Version 6.0.8
in the other project
在另一个项目中
PM> Install-Package Newtonsoft.Json -Version 5.0.3