visual-studio-sdk

Microsoft Visual Studio SDK DSL Tools - Any serious takers?

We are considering Microsoft DSL toolkit for creating some abstract designers. I already did some POCs, but would like to get some opinions on the same. Any one here to share their experiences working with Microsoft DSL Toolkit and T4? Also, any pointers to open source DSL projects will help - Eg. Microsoft Service Factory modeling edit...

TFS Client APIs for creating workitem templates?

Of course, it is pretty possible to create work items, get a list of work items etc in TFS. In addition to this, we need to have the functionality of allowing our users to create their own work item templates, for various file types. Whether the TFS Client APIs are capable of uploading work item templates to TFS server? ...

Visual Studio SDK - Getting notified when a project item in your package's vsx project has undergone undo checkout?

We are working with Visual Studio SDK, creating a package. We need to get notified when a file (projectitem) gets undo checkout from TFS. Any solutions/pointers are appreciated. ...

Get a list of Solution/Project Files for VS Add-in or DXCore Plugin

I am trying to write a add-in for Visual Studio that, among other things, needs to keep track of every file in a Visual Studio solution. I know what events I need to subscribe to (when a Solution is opened, when a file is added/removed/edited in it, the same for projects, etc), but I don't understand how to actually get a list of files f...

Is it possible to add a New Project Wizard with a VSPackage?

I have a VSPackage for Visual Studio 2008 that I created for adding some editor and custom language functionality. I also have a need to add a new project/solution wizard to create a new Solution and a complex series of C++ projects to the solution. I know I can do this using a "Custom Wizard", but I would be much happier if I can implem...

Visual Studio Shell - Creating a Custom IDE.

I know this is a very broadly scoped question, but what do I need to know to begin creating a branded, custom IDE for course-ware using the VS Shell in isolated mode. Very little useful info on this beast is available through searches, so I'm hoping for some tips and references from gurus that have been through the apparently difficult ...

Template not found for VS Shell Isolated IDE

When I try to create a Visual Studio Shell Isolated project, I get an error that says the specified template cannot be found. I have downloaded and installed the shell and VS SDK setups, and Google yields no results on my search. How could I start diagnosing the cause of this problem? ...

Adding resources to solution explorer in experimental hive

Hi, I'm currently working on a project using DSL tools in Visual Studio 2008. Is there a way to automatically add a resource into the solution explorer of the experimental hive at runtime? I'm creating new diagrams based on what is on screen, and saving them into the directory the project is stored in. I would like to know if there is ...

How can I programmatically retrieve a loaded project in Visual Studio 2008?

I want to create an hour counter to monitor my development time on a project. I want the time to increase whenever a certain project is active in Visual Studio 2008. Can I progammatically find out which *.csproj file is currently active in VS2008? ...

Visual Studio Shell Based Application

My new project would be a custom IDE for proprietary Application creation. This can be a Shell based application on VS Shell. I wanted to know what are the license requirement for these kind of applications. My question: If I create my project as VS Shell based Application, what kind of license is required by the end user of the Shell b...

Designing a Visual Studio 2010 Integration Package

I'd like to get started with the Visual Studio 2010 SDK and creating integration packages. All I would like to do for now is provide a new project type and language service. However, I don't know how I should design it... The package will provide an editor for a programming language that compiles for x86 or ARM processors. The problem i...

IVsEditorAdaptersFactoryService.CreateVsTextViewAdapter throws an object null reference

I'm trying to create a IVsTextViewAdpater with the IVsEditorAdaptersFactoryService but when I call CreateVsTextViewAdapter it throws an object null reference: var editorFactory = componentModel.GetService<IVsEditorAdaptersFactoryService>(); var serviceProvider = (Microsoft.VisualStudio.OLE.Interop.IServiceProvider)this; ...

IntelliSense based snippet handling with Visual Studio 2010 SDK MEF Based text editor

Using the new Visual Studio 2010 SDK developing against the MEF based editor structure there's a question: How can I use the MEF editor interfaces to handle snippet behavior in IntelliSense? The ICompletionSession itself is not a problem (e.g. get the available snippets) rather filling the snippet, handling the subsequently expected act...

Compile error when trying to debug a Visual Studio integration project

I'm currently working on a Visual Studio integration project for VS2010 (a custom highlighter) I'm using Irony and the LanguageServiceTemplate from this Code project article. However that template is build for 2008 and the changes made in VS2010 when it comes to integrating breaks the template. When I try to compile I get the following...

Hooks for the background compilation in Visual Studio 2008/2010?

Is there a set of events, a service, or any other API in the Visual Studio SDK for Visual Studio 2008 and/or Visual Studio 2010 that allows you to hook into the background compilation service and listen for background compilation events? ...

VS2010 syntax coloring: how to obtain the previous classification type

I'm trying to play with the new syntax coloring capabilities of VS2010 based on Noah Richards' diff coloring sample. The goal is to create syntax coloring for SpecFlow (http://www.specflow.org). In my case, finding the syntax elements are fairly complex and not line-level. Therefore, when I implement the GetClassificationSpans I don't w...

Does __VSFINDRESULT have an incorrect value?

I'm creating a custom Visual Studio editor and am currently trying to enable find and replace. In the IVsFindTarget.Find method it says to return __VSFINDRESULT.Found and I'm assuming __VSFINDRESULT.AndReplace flags when a find and replace request it called. The issue is that AndReplace is defined: VSFR_AndReplace = -2147483648 But...

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="...

Access "Embed Interop Types" property of a project reference programatically

I am writing a plugin for Visual Studio, I am able to see all the properties of all the references for a project, except for one property. How can I access the "Embed Interop Types" property of a reference programmatically? Right now I am using the VSLangProj80.Reference3 class to get the properties, but it does not include the "Embed ...