Reputation: 65
Ok, so when I am typing in Process.Start("Chrome.exe")
into my code, it doesn't light up, and there are no suggestions for what I might want to do, as it normally does in Visual Studio. I'm not sure why this is, does anyone know?
The error message that I receive under Process
is:
The Name "Process" does not exist in the current context
Upvotes: 2
Views: 2131
Reputation: 56202
Add System.Diagnostics
namespace
using System.Diagnostics;
or use full name:
System.Diagnostics.Process...
Upvotes: 9