How to enforce same nuget package version across multiple c# projects?

前端 未结 4 2082
失恋的感觉
失恋的感觉 2020-12-15 15:59

I have a bunch of small C# projects which use a couple of NuGet packages. I\'d like to be able to update version of a given package automatically. More then that: I\'d like

4条回答
  •  悲哀的现实
    2020-12-15 16:50

    I don't know how to enforced it, but I've found the "Consolidate" tab to help. This tab show you package that have different version through out the solution. From there you can select projects and use the install button to install the same package version for to them. This tab can be found under "Manage NuGet for solution".

提交回复
热议问题