kirsan31 / winforms-datavisualization

System.Windows.Forms.DataVisualization provides charting for WinForms applications.
MIT License
45 stars 19 forks source link

With latest version I can't build #22

Closed paul1956 closed 1 year ago

paul1956 commented 1 year ago

I synced fork in my GitHub account Deleted local folder Cloned using VS I get errors below

image

kirsan31 commented 1 year ago

As I can understand the problem is that you have outdated nuget.exe in your PATH. But in theory, all libraries should be built normally. Only auto-restore in DesignerTest does not work after the build.

To get rid of these errors you can do one of the following:

  1. Comment out this lines: https://github.com/kirsan31/winforms-datavisualization/blob/96ed59b82c0fdab0c401e84d0854e227eeb78ea2/src/WinForms.DataVisualization.Package/DataVisualization.Package.csproj#L77-L79
  2. Update nuget.exe (that in your PATH) from here: https://www.nuget.org/downloads, direct link: https://dist.nuget.org/win-x86-commandline/latest/nuget.exe

And I'll think, what to do... Add a note about needed of nuget.exe, or maybe I can remove it completely? The work of transferring the designer is already finished. All this was needed to automatically update the package after the build when working with the designer...

paul1956 commented 1 year ago

Updated NuGet and it builds without errors.