Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/306.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 以编程方式打开TFS工作项UI_C#_Tfs - Fatal编程技术网

C# 以编程方式打开TFS工作项UI

C# 以编程方式打开TFS工作项UI,c#,tfs,C#,Tfs,我目前正在outlook中制作一个加载项,我希望能够使用指定的模板(bug/task/etc)打开一个工作项,并填充一些字段。但是我不知道如何调用UI。(这类似于当您在excel中导入到TFS时,您的项未验证,因此它会在UI中打开工作项) 非常感谢名称空间或代码。我看到隐藏的“复制模板URL”按钮的解决方案是在我使用的URL中: string URL = the TFSWorkItemURLYouGotFromThewi.aspxPageWithQueryStrings Process.Sta

我目前正在outlook中制作一个加载项,我希望能够使用指定的模板(bug/task/etc)打开一个工作项,并填充一些字段。但是我不知道如何调用UI。(这类似于当您在excel中导入到TFS时,您的项未验证,因此它会在UI中打开工作项)


非常感谢名称空间或代码。

我看到隐藏的“复制模板URL”按钮的解决方案是在我使用的URL中:

string URL = the TFSWorkItemURLYouGotFromThewi.aspxPageWithQueryStrings
Process.Start(URL):
Process process = new Process();
// Configure the process using the StartInfo properties.
process.StartInfo.FileName = "process.exe";
process.StartInfo.Arguments = "-n";
process.StartInfo.WindowStyle = ProcessWindowStyle.Maximized;
process.Start();
process.WaitForExit();// Waits here for the process to exit.