vsix

Can't find VSIX Project Type in VS 2010

I have installed the VS 2010 SDK but I still don't have the VSIX project type. This system has never had any beta bits on it. Any ideas? ...

Definitive list of service providers in Visual Studio 2010?

VS2010 has made it easy to write extensions via MEF exports and imports. However, if you want to do anything useful you have to know what service provider(s) you need to implement your super awesoem extension. Unfortunately, this information is often spread out all over the place, not well documented or both. What I'd really love to s...

How to deploy and register a VSPackage supporting multiple versions of Visual Studio (2005, 2008, 2010)?

I have an open source VSPackage that I would like to release with support for Visual Studio 2005, Visual Studio 2008, and Visual Studio 2010. I'm trying to figure out how to create the installer and how to perform the package registration with each edition of Visual Studio. The deployment research I've done indicates my best bet for an...

Visual Studio 2010 Extension Manager crashes

After installing a bunch of extensions to try out I restarted VS 2010 and it started crashing. Unfortunately, it consistently crashes when opening Tools | Extension Manager. Any ideas how to fix and avoid a complete uninstall/reinstall? Event log has this: Application: devenv.exe Framework Version: v4.0.30319 Description: The process w...

Why is the toolbar button disabled in my Visual Studio extension?

I've written a Visual Studio 2010 extension. It's a VS Package (in a .VSIX) file. It's got a toolbar, which has a single button on it. The button is never enabled. I've looked at the MenuAndCommands VS SDK example and, as far as I can tell, I'm not doing anything different. What have I done wrong? ...

Creating 32bpp BMP file for toolbar image strip?

I've got a 16 pixel high image that I've created in Paint.NET that I'd like to use in a Visual Studio toolbar. My image is a .PDN file with multiple layers. Visual Studio requires a 32bpp BMP file. How do I convert the .PDN file to the correct format .BMP file? I'm not looking to have this happen in my program. I'm cool with having to...

How do I: Visual Studio Syntax Highlighting Extension

I want to develop an extension for VS2010 that will allow me make some additional features to syntax-highlighting. I installed the SDK, how do I start from? Please give a little snippet (or a link to code) where I can see how to start. Note: do I have to check the whole block of code, or the SDK tells me on each word what it is, how i...

Extending the extension manager.

I want to extend the extension manager in Visual Studio 2010. I'd rather know if that is at all possible before I get into it, but am unable to find anything about it. All the extensibility options I've read about mention nothing about being able to actually change the function of an existing VS2010 tool like the extension manager. I'd...

How to deploy an MSBuild custom Task using MEF?

I have a number of custom Item and Project Templates for Visual Studio 2010. I have build a VSIX Package that can be used to deploy these extensions to multiple developer's machines. I am now creating a custom MSBuild Task that will be required for a new Item Template. In my local project, I can get this to work by putting in a hard-co...

What kind of add-in / extension for VS 2010 should I create ?

I have managed to develop an extension for visual studio "Update web reference" action in form of a simple dll that takes care for some sharing of classes between different projects etc. Everything works at my local machine and now I would like to create some user-friendly package so that all the guys in our company can use it as well. S...

Unhandled exception in VS extension

I have tried creating a syntax highlighter for a custom file definition. I get an exception when its loaded. I have added the /log parameter to devenv to get a log. 335 ERROR System.Exception: Duplicate EditorFormatDefinition exports with identical NameAttribute metadata exist. Duplicate name attribute is COMMENT Editor or Editor Ext...

Is it possible to have a vs2010 vsix check for updates locally?

I'm writing a project structure and code analysis extension for visual studio at work. The project can not be published to the Visual Studio Extensions Gallery. Is there any way to manage updates and deployment built in to visual studio so that a team can use the extension and get the update prompts? ...

VS2010: VSIX installation doesn't deploy item templates inside it

Hi, Given demo solution with two VSX-projects: 1. Add New Project -> Extensibility -> Item Template - "ItemTemplate1" 2. Add New Project -> Extensibility -> VSIX Project - "VSIXProject1" I did no changes in "ItemTemplate1", so it constains default item template (ItemTemplate1.vstemplate): <VSTemplate Version="3.0.0" Type="Item" xmlns="...

VS2010 Project Template + VMSDK

For the life of me, I can't get my DSL project to be exported as a template, other than the default ItemTemplate (as in Add New Item) Does anyone happen to have a summary of what has to be done to be able to create a new project? VSTemplate follows. Have tried adding the zip to the VSIX as Content (ProjTemplate) to no avail. <!--DSL To...

Can I install binaries into the GAC via a VSIX installer?

I've got a hybrid installer which drops binaries on the target machine (WIX) as well as installs templates into Visual Studo (VSIX). The VSIX is stored as a binary in the installer and is installed via a custom action when the installation is finalized. It works, but there are a few issues. I could get around those issues if I could s...

VSIX: Getting DTE object

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 bot...

Language for Text View in VS2010 Extension

I'm new to building addins for Visual Studio, but have managed to build a simpe tool for VS2010 that does a little text manipulation in the currently active code window. I've got to the point where I need to know the language (VB.Net, C# or whatever) of the current text view. I have tried to get the filename (so I can look at the extens...

How to obtain my vsix extension's folder and use this value to insert in some project template's files?

My VSIX extension has project templates with custom project file. This file contains a reference to my .targets file which is installed as a part of VSIX extension (so it's in my extension's folder). My problem is that I can't find any variable that indicates the vs extensions path, which is needed to find a targets for project file. If...

Deploying Custom Policy on TFS2010 using VSIX and PKGDEF

I'm having a hell of a time trying to get a custom policy to install on TFS2010 using VSIX. I have the policy up and running and working fine on my development PC, I have written a value to the registry manually, and the policy is enforced. The trouble is setting up a VSIX project and deployment to our other development machines. I fo...

detecting activity in the visual studio editor

I would like to know if there is a programmatically hook into the visual studio editor, so that I can determine whether or not someone is typing in the editor. Thanks! ...