コード例 #1
0
ファイル: connect.cs プロジェクト: Xenioz/qt-labs-vstools
        private bool SetProjectDirectory(Project project, ProjectDirectory directory, string value)
        {
            if (!File.Exists(appwrapperPath))
                return false;

            System.Diagnostics.Process appwrapper = new System.Diagnostics.Process();
            appwrapper.StartInfo.FileName = appwrapperPath;
            appwrapper.StartInfo.Arguments = "Autotests:set" + directory.ToString() + ':' + value;
            appwrapper.Start();
            System.Threading.Thread.Sleep(500);

            return true;
        }