Nuget: Migrating multiple large Solutions to PackageReference

前端 未结 2 962
情深已故
情深已故 2020-12-11 17:36

Background

I\'m working on a big project with multiple large solutions. All in all we have over 400 C#-Projects. In the past we used Nuget with the

2条回答
  •  旧巷少年郎
    2020-12-11 18:11

    I did not find the accepted answer much relevant, because the extension link is broken. I did see some repo containing a custom code to migrate, but it just did 1-1 substitution without eliminating the transitive dependencies - not good.

    So, I have written my own something to automate the process of applying the built-in migration tool to all the non Asp.Net projects - https://github.com/MarkKharitonov/NuGetPCToPRMigrator

    I used it to migrate a couple of hundreds projects across a few solutions.

提交回复
热议问题