我需要一个以编程方式启动Visual Studio (devenv.exe)和打开解决方案。我使用EnvDte。问题是EnvDTE.DTE.Solution.Open可以工作,但StartWindow不会隐藏。如果我单击"Continue without code",我将看到打开的解决方案。如何以编程方式关闭StartWindow?
我正在编程地生成一个表,其中Text2列是一个按钮:
for (int i = 0; i < workPackages.Length; i++)
{
//Define new Row to add
RowDef = new RowDefinition();
RowDef.Height = new GridLength(60);
//Add row definition to Grid
WorkPackageResults.RowDefinitions.Add(RowDef);
//Define the control that will