- Home /
System Diagnostics Problem
so i want to start cmd but this one error keeps popping up
Error > error CS0103: The name `Process' does not exist in the current context
using System.Diagnostics;
using UnityEngine;
public class CMDManager : MonoBehaviour
{
private void Start()
{
Process.Start("cmd.exe");
}
}
maybe visual studio is missing a reference to System.Diagnostics but i cant figure out how to add a reference inside visual studio
https://docs.unity3d.com/410/Documentation/ScriptReference/$$anonymous$$onoCompatibility.html
System.Diagnostics.Process is definitely included in .Net 2.0 and full version. Some of your settings must be messed up. Unfortunately you can'tjust add a reference in VS for Unity like you can do in normal VS by simply right clicking the solution explorer--> add reference. If nothing helps reinstall vs for unity
Answer by SITH-RULER · Jan 10, 2017 at 08:03 PM
well when i right click the solution explorer add reference doesn't show and this problem has been bugging me for 2 hours i think this server cmd is not worth it in any case i will reinstall vs for unity and see if that solve my problem thanks!
I have been going through the same problem since yesterday. Did reinstalling vs for unity work?. thanks for the reply in advance
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Help...Android Shader Crash !!! 1 Answer
Horizontal Input showing random decimal when not pressing anything 0 Answers
[C#] Both button check with delay. 1 Answer