Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Jade.VSIX.Reboot
Jade.VSIX.Reboot

Jade.VSIX.Reboot

dcdlove

|
572 installs
| (0) | Free Trial
在工具扩展一个重新启动VS2010的功能
Download

vs 作为主流的开发工具之一,其强大的功能无可厚非,但日益增加的需求就使得vs的扩展工具成为优秀dev所必备的利器之一。

这个插件的功能非常简单就是实现vs2010的重启,如果在打开项目的情况下重启后会直接打开上次的项目

目前支持的操作有:重启

插件非常简单就一个功能代码也很简单,这只是一个入门小功能,有兴趣的可以加qq群(37291383)一起研究

----------------------------------------------------------------------------------------------------------------------

为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符为什么非要280个字符

 

C#
编辑脚本|Remove
csharp
private void MenuItemCallback(object sender, EventArgs e)		{			var statProPath = _DTE.Solution.FullName;//当前解决方案路径			//退出vs命令			var cid = new System.ComponentModel.Design.CommandID(new Guid("5EFC7975-14BC-11CF-9B2B-00AA00573819"), 229);			if (mcs.GlobalInvoke(cid))//执行名称成功			{				//重新启动vs				var installDir = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config", "InstallDir", null) + "devenv.exe";				System.Diagnostics.Process.Start(installDir, statProPath);			};		}
private void MenuItemCallback(object sender, EventArgs e)         {             var statProPath = _DTE.Solution.FullName;//当前解决方案路径             //退出vs命令             var cid = new System.ComponentModel.Design.CommandID(new Guid("5EFC7975-14BC-11CF-9B2B-00AA00573819"), 229);             if (mcs.GlobalInvoke(cid))//执行名称成功             {                 //重新启动vs                 var installDir = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0_Config", "InstallDir", null) + "devenv.exe";                 System.Diagnostics.Process.Start(installDir, statProPath);              };         }
 

 

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft