How can i add some bat files to my project so i will not need them anymore on the hard disk?

前端 未结 6 1566

For example i have this code:

Process proc = new Process();
proc.EnableRaisingEvents = true;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.FileName          


        
6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-12 06:36

    Add dxdiag.bat to your project by right-clicking on the project and select add existing item. Then, once it is in your project, right-click the dxdiag.bat file and select properties. Set the "copy to output directory" property to "always".

提交回复
热议问题