[英]How to make Kestrel console window auto close/reset upon each rebuild in Visual Studio ASP.NET Core web projects?
[英]How to Auto close or hide this asp.net home page window when opened the project in visual studio programmatically
這是如何使用開發工具環境對象完成的
public void RunFinished()
{
Solution2 soln = (Solution2)dte.Solution;
//Close the .Net project overview home page from the output project to be created
foreach (Window documentWindow in dte.Windows)
{
//close all Document type of windows from the output project
if (documentWindow.Kind == "Document")
{
documentWindow.Close();
}
}
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.