WPF Visual Studio Install-Package for whole solution instead of one project via command in Nuget package console

Get-Project -All| Install-Package Prism.DryIoc

 

PM> Get-Project -All |Install-Package Prism.DryIoc;
Restoring packages for D:\C\WpfApp29\WpfApp29\WpfApp29.csproj...
  CACHE https://api.nuget.org/v3/vulnerabilities/index.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.base.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.update.json
Installing NuGet package Prism.DryIoc 9.0.537.
Generating MSBuild file D:\C\WpfApp29\WpfApp29\obj\WpfApp29.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\C\WpfApp29\WpfApp29\obj\project.assets.json
Restored D:\C\WpfApp29\WpfApp29\WpfApp29.csproj (in 16 ms).
Successfully installed 'DryIoc.dll 5.4.3' to WpfApp29
Successfully installed 'Prism.Container.DryIoc 9.0.106' to WpfApp29
Successfully installed 'Prism.DryIoc 9.0.537' to WpfApp29
Executing nuget actions took 108 ms
Time Elapsed: 00:00:00.4529903
Restoring packages for D:\C\WpfApp29\ImageProject\ImageProject.csproj...
  CACHE https://api.nuget.org/v3/vulnerabilities/index.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.base.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.update.json
Installing NuGet package Prism.DryIoc 9.0.537.
Generating MSBuild file D:\C\WpfApp29\ImageProject\obj\ImageProject.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\C\WpfApp29\ImageProject\obj\project.assets.json
Restored D:\C\WpfApp29\ImageProject\ImageProject.csproj (in 13 ms).
Successfully installed 'DryIoc.dll 5.4.3' to ImageProject
Successfully installed 'Prism.Container.DryIoc 9.0.106' to ImageProject
Successfully installed 'Prism.DryIoc 9.0.537' to ImageProject
Executing nuget actions took 94 ms
Time Elapsed: 00:00:00.1501931
Restoring packages for D:\C\WpfApp29\BookProject\BookProject.csproj...
  CACHE https://api.nuget.org/v3/vulnerabilities/index.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.base.json
  CACHE https://api.nuget.org/v3/vulnerabilities/vulnerability.update.json
Installing NuGet package Prism.DryIoc 9.0.537.
Generating MSBuild file D:\C\WpfApp29\BookProject\obj\BookProject.csproj.nuget.g.targets.
Writing assets file to disk. Path: D:\C\WpfApp29\BookProject\obj\project.assets.json
Restored D:\C\WpfApp29\BookProject\BookProject.csproj (in 13 ms).
Successfully installed 'DryIoc.dll 5.4.3' to BookProject
Successfully installed 'Prism.Container.DryIoc 9.0.106' to BookProject
Successfully installed 'Prism.DryIoc 9.0.537' to BookProject
Executing nuget actions took 97 ms
Time Elapsed: 00:00:00.6895913
PM> 

 

 

image

 

posted @ 2025-10-08 14:03  FredGrit  阅读(6)  评论(0)    收藏  举报