0

I'm trying to create a chart in my console application. I think this link can help me out with that. However, I don't have the namespace Forms in the namespace System.Windows. Can someone tell me how I can add that?

I found this link that can help me out with that, but I don't know where to find the dll file.

Thanks.

Zarif
  • 587
  • 1
  • 4
  • 26
  • Right click your references ==> add references ==> .NET tab look for System.Windows.Forms – Rainbow Apr 29 '18 at 13:09
  • @ZohirSalakCeNa Thanks for your reply. I cannot find the .NET tab you are talking about. This is the window I get when I press 'Add reference': https://imgur.com/a/cmu3mKX – Zarif Apr 29 '18 at 13:17
  • Oh im not familiar with the VS2015 and above, just poke around in there and you'll find a window that lists the .NET references – Rainbow Apr 29 '18 at 13:22
  • @Zohir: The question is about .Net Core. – TaW Apr 29 '18 at 13:24
  • You aren't using Visual studio as an Editor ? – Rainbow Apr 29 '18 at 14:00
  • @ZohirSalakCeNa I am. Visual Studio Professional 2017. – Zarif Apr 29 '18 at 14:01
  • So what i said is exactly what that link you provided says also in the References window, it should list all the .NET Core references if not look around in it. – Rainbow Apr 29 '18 at 14:04

1 Answers1

3

Sorry .net Core does not include windows forms. .net Core is cross platform and windows forms is not supported because it runs on windows, Linux, and Mac. The only form of UI is asp.net core which probably not what you are looking for.

https://learn.microsoft.com/en-us/dotnet/core/

Ken Tucker
  • 4,126
  • 1
  • 18
  • 24
  • 1
    Despite this is still under construction, try this out: https://www.nuget.org/packages/System.Windows.Forms.DataVisualization I'm going to use it shortly, but I don't know when. This could be another alternative... https://www.nuget.org/packages/System.Windows.Controls.DataVisualization.Toolkit/ – Jerome Mar 04 '21 at 17:18