0

Does any utility exist, which generates packages.props from the list of installed NuGet packages for that solution. Is the only option to add manually these references ?

<Project>
    <ItemGroup>
        <PackageReference Update="HtmlAgilityPack" Version="1.11.24" />
...
MicMit
  • 2,310
  • 5
  • 28
  • 40
  • No, there is no tool yet (at least I don't know it) and no, adding it manually is not the only option - you can write a little script (e. g. PowerShell has a good XML support). – mu88 May 19 '22 at 10:41
  • Actually the question should sound like https://stackoverflow.com/questions/53435715/get-a-list-of-all-nuget-packages-used-in-a-solution The answers there suit me perfectly. – MicMit May 20 '22 at 00:32
  • @MicMit If you find a suitable answer, you may consider converting the comment to an answer. It will also help others to solve the similar issue. – Jingmiao Xu-MSFT May 20 '22 at 07:29

0 Answers0