Guest User

Guest User

  • Tech Writer
  • 2.1k
  • 467.2k

How to update the whole project for referencing assembly?

Apr 24 2024 12:00 PM

Hi Team

I need some help, i have WPF project build on version 2015 of VS IDE, but i want to update all the packages, they are all yellow in color. What steps must i used to resolve this problem by using command in nuget? 

PM> Update-Package -Reinstall
Attempting to gather dependencies information for multiple packages with respect to project 'Feedmill Weighbridge', targeting '.NETFramework,Version=v4.7.2'
Attempting to resolve dependencies for multiple packages
Update-Package : Unable to find package 'System.Diagnostics.DiagnosticSource'. Existing packages must be restored before performing an install or update.
At line:1 char:1
+ Update-Package -Reinstall
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
 
PM> 

 


Answers (1)