I'm a beginner programmer so I think I must be overlooking something simple, but after 2 hours of searching and even reinstalling Visual Studio I can't seem to fix this problem.
I need to start a 3rd party exe, so I need to use the Process class.
Process.Start(string)
However it gives a red line underneath and says: The name Process.Start does not exist in the current context. and The name Start does not exist in the current context.
These are the namespaces and I've referenced System
and System.Diagnostics.Tracing
also:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
Process
in your your code? – Klaus Gütter Nov 25 '20 at 5:21