I use VS 2017 and win 10, I am making a simple console application, I want to use the clipboard, for this I include using System.Windows.Forms;
But I get the error: The type or name of the Forms namespace does not exist in the System.Windows space, is there any assembly reference missing?
If I put a point and wait for the intellisense after Windows I do not get as a Forms option.
   using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Forms;
[STAThreadAttribute]
        static void Main(string[] args)
        {
            String comando = "Inicio";
            String respuesta = "";
            //int[] vector;
            Console.WriteLine("CLI asp.net mvc");
            Console.WriteLine("Introduzca su opción");
            do
            {
                comando = Console.ReadLine();
                switch (comando)
                {
                    case "hp":
                        respuesta = "[HttpPost]";
                        break;
                    case "hv":
                        respuesta = "[HttpPost]" + Environment.NewLine + "[ValidateAntiForgeryToken]";
                        break;
                    case "vaft":
                        respuesta = "[ValidateAntiForgeryToken]";
                        break;
                }
                Clipboard.SetText(respuesta);
                Console.WriteLine(respuesta);
            } while (comando != "salir");
            Environment.Exit(1);
        }
Is there another class on github that I can use? or a change on this one ?
In clipboard I get: Clipboard does not exist in the current context
 
    