vsix

VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products

二次信任 提交于 2019-11-28 07:20:07
问题 I tried to install enterprise library 6.0 recently in visual studio 2015 but the installer throws an error 'VSIXInstaller.NoApplicableSKUsException: This extension is not installable on any currently installed products'. I couldn't resolve it. 19-Dec-16 9:59:48 AM - Microsoft VSIX Installer 19-Dec-16 9:59:48 AM - ------------------------------------------- 19-Dec-16 9:59:48 AM - Initializing Install... 19-Dec-16 9:59:48 AM - Extension Details... 19-Dec-16 9:59:48 AM - Identifier : A42E118F

How to debug a Vsix project

夙愿已清 提交于 2019-11-28 02:34:38
问题 I'm creating a custom test runner for my project. So I've created a test vsix project which can be registered in Visual Studio. I also knows that I load the extension through F5, then the experimental instance of Visual Studio is loaded, but breakpoints are not hit in the Visual Studio Instance in which I've created my vsix. Someone knows how to really debug it? 回答1: I've built a few Visual Studio extension and I've never found a good way to debug a VSIX. You can launch an experimental

Attach debugger onto another Visual Studio instance

99封情书 提交于 2019-11-28 02:05:30
I'm doing some visual studio extension development in Visual Studio 2010. It would be useful to debug while developing so I have it configured to open another instance of VS when debugger for F5 ( http://donovanbrown.com/post/How-to-debug-a-Visual-Studio-Extension.aspx ). This all works fine but is there a way to attach a debugger to an existing instance of VS2010, I have tried and the breakpoints aren't being hit. There are no errors but wondering if there is a way? I should add I do know how to attach to a debugger and I have used it before to attach to ASP.net code. Under Debug there is a

VSIX with Project Templates and NuGet Packages

核能气质少年 提交于 2019-11-27 23:16:15
I have been following this post about how to build a VSIX project that will add some custom MVC project types: http://www.asp.net/mvc/tutorials/mvc-4/custom-mvc-templates I also want to include some additional Nuget packages, so I was following this page from Nuget , but it seems to be for VS2010 and I'm working in 2012. I have the project building, and everything works peachy on my machine. The install works, the new project type appears, and when I create a new project of this type, everything works perfectly. However, when I send the installer to a coworker, things break. The installer

How do I know from my VSIX that a build will be followed by a Debug session?

帅比萌擦擦* 提交于 2019-11-27 23:09:12
问题 I'd like my VSIX does something different in my BuildEvents.OnBuildDone handler, if the build has been triggered because the user wants to start a Debug session. I've tried... private void m_BuildEvents_OnBuildDone(vsBuildScope scope, vsBuildAction action) { if (m_DTE.Mode == vsIDEMode.vsIDEModeDebug) { //... } } ...but unfortunately at that point m_DTE.Mode is not yet equal to vsIDEMode.vsIDEModeDebug . I could start a one or two seconds timer and then check if (m_DTE.Mode == vsIDEMode

VSIX - Cannot load file or assembly of a referenced dll

北城以北 提交于 2019-11-27 19:08:35
My question is very similar to this one , only that the answer and work-around are not working for me. Also I am in Visual Studio 2012. I have a VSPackage which is referencing another project, which is dependent on other dlls. Everytime time I run my package in debug I get an exception that the other dlls cannot be found. They are in the output directory, and they are signed. I tried referencing them directly by the VSPackage project to no avail. Thoughts? Mikhail Shcherbakov This problem exists because Visual Studio is not looking for assemblies in a folder of your extension if your extension

VSIX: Getting DTE object

北战南征 提交于 2019-11-27 14:05:29
问题 My Visual Studio package requires the use of an EnvDTE.DTE variable, but it always gets back as null. After reading up on many hacks, all of them say to use the OnShellPropertyChange() method (IVsShellPropertyEvents), but sometimes it just never fires - as if my extension never finishes loading. I'm using VS2010 and checking against both VSSPROPID_Zombie and ShellInitialized - no work. :( Any ideas? This is the code I'm using: public int OnShellPropertyChange(int propid, object var) { if

vsixmanifest for all: VS 2010, 2012 and 2013

回眸只為那壹抹淺笑 提交于 2019-11-27 12:45:33
I'm using VSIX Manifest Designer under VS2013. I've added Microsoft.VisualStudio.Pro product identifier and [10.0,13.0) version range to install targets. Despite that fact, I still don't see my VS2010 Professional as an available installation target: The source.extension.vsixmanifest file content is shown below: <?xml version="1.0" encoding="utf-8"?> <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011"> <Metadata> <Identity Id="ae98c9e5-8e14-4c92-b45a-c4fd24a49123" Version="1.0"

Multi Project / Solution Templates for Visual Studio 2012 with VSIX Installer and Nuget Packages

蹲街弑〆低调 提交于 2019-11-27 11:19:40
问题 I would like to have a multi-project template that will create sub projects, and will install the nuget dependencies as well as have a vsix installer that will install this template. Problems with methods already tried Multi project template without VSIX, no nuget I was able to create a multi project template, and it worked fine, except when it came time to including nuget references, it did not work. There was no easy/elegant support for nuget that did not involve VSIX. Multi project

Access Visual Studio 2017's private registry hive

别等时光非礼了梦想. 提交于 2019-11-27 09:15:57
Visual Studio uses a private registry hive instead of "polluting" the system registry - typically found somewhere like this: C:\Users\Abx\AppData\Local\Microsoft\VisualStudio\15.0_4b0ba1c0\privateregistry.bin [In order to determine installed extensions we need to look at the following key: Software\Microsoft\VisualStudio\15.0_4b0ba1c0\ExtensionManager\EnabledExtensions ] What is the simplest way to load and access this file by key in C#? Ed Dore To manually review, you can use the regedit.exe application to load the privateregistry.bin file by doing the following: Launch RegEdit.exe Select the