gpt4 book ai didi

visual-studio-2013 - Visual Studio "Open as a Web Site"上下文菜单选项

转载 作者:行者123 更新时间:2023-12-01 23:50:16 25 4
gpt4 key购买 nike

Microsoft WebMatrix 附带了一个很棒的 Windows 资源管理器上下文菜单选项,允许您将文件夹作为网站项目打开。是否有任何扩展或脚本可用于添加类似的选项以在 Visual Studio 中执行相同的操作?

最佳答案

我找到了一个可以满足您要求的小项目:

The complete code can be downloaded here. Once you have the code downloaded and compiled, to add the “Open as Website” option to the Windows Explorer context menu you'll need to run the .reg file included in the download. This adds a registry entry in HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\ that runs the program, passing in the path folder of that was just right-clicked. You will need to customize this .reg file before you run it, putting in the path to the program. You'll also need to specify the path to dump the project files. I chose the folder C:\Documents and Settings\Scott\My Documents\Visual Studio 2005\Projects\TempWebsiteProjects, but any path should suffice.

在这里查看完整说明:http://scottonwriting.com/sowblog/archive/2005/12/05/163132.aspx

关于visual-studio-2013 - Visual Studio "Open as a Web Site"上下文菜单选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26933445/

25 4 0