简体   繁体   English

是否可以在Visual Studio集成的shell应用程序中捆绑第三者扩展?

[英]Is it possible to bundle a 3rd party extension in your visual studio integrated shell application?

I have written a language and debug engine extension for visual studio, and I'm able to create a shell application from this extension. 我已经为Visual Studio编写了语言和调试引擎扩展,并且能够从该扩展创建Shell应用程序。 However, I'd like to include p4vs , as it's a pain trying to install that to the shell seperately, as the installer doesn't target shell applications. 但是,我想包含p4vs ,因为尝试将其单独安装到Shell上很麻烦 ,因为安装程序不针对shell应用程序。

I've discovered that this is indeed possible by following the instructions here . 我发现按照这里的指示确实可以做到这一点。

But the basic gist is: 但基本要点是:

  1. Create a subfolder in the Extensions/ subfolder 在扩展/子文件夹中创建一个子文件夹
  2. Rename the vsix extension to ".zip" 将vsix扩展名重命名为“ .zip”
  3. Using your favourite zip file manager, extract the files to your newly created extension folder from step 1 使用您喜欢的zip文件管理器,将文件从步骤1中解压缩到新创建的扩展文件夹中
  4. Delete the [Content_types].xml file 删除[Content_types] .xml文件
  5. Optionally, edit the vsixmanifest file and add InstalledByMsi="true" to the element to prevent users from uninstalling the extension via the extension manager (可选)编辑vsixmanifest文件,并将InstalledByMsi =“ true”添加到元素中,以防止用户通过扩展管理器卸载扩展

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 是否可以更改第三方类的“ Visual Studio调试器变量”窗口“值”列中显示的内容? - Is it possible to change what is displayed in a Visual Studio Debugger Variables window Value column for a 3rd party class? 在Visual Studio中进行调试时,第三方程序集困扰 - 3rd party assembly nagging when debugging in Visual Studio 使用Visual Studio Toolchain在Eclipse CDT中包含第三方库 - Include 3rd party library in Eclipse CDT with Visual Studio Toolchain 将第三方C ++编译器与Microsoft Visual Studio集成 - Integrating 3rd party C++ compilers with Microsoft Visual Studio 将第三方库添加到Visual Studio源代码管理 - Adding 3rd party libraries to Visual Studio source control 检查Visual Studio 2010中的第三方代码 - Inspect 3rd party code in Visual Studio 2010 在Visual Studio项目中使用3rd party exe,然后将其包装为一个用于在线安装程序 - Using 3rd party exe in visual studio project and then wrapping it into one for online installer 如何防止Visual Studio 2005的“清理”命令删除第三方二进制文件? - How can I prevent Visual Studio 2005's “Clean” command from removing 3rd party binaries? 在Visual Studio 2019中键入时,如何获得IntelliSense提示第三方类? - How get IntelliSense hints for 3rd party classes as you type in Visual Studio 2019? 在内置或第3方组件中的哪里可以找到Visual Studio样式选项卡? - Where can I find Visual Studio style tabs in either a built-in or 3rd party component?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM