vsx

Domain Specific Language resources

I was just listening to some older .Net Rocks! episodes, and I found #329 on DSLs to be interesting. My problem is that I can't find any good online resources for people trying to learn this technology. I get the basics of the creating new designers, but the MS docs on the T4 engine used by the DSL tools and then how to integrate the tem...

How to extend project properties page?

Is it possible to add a custom tab to a project properties page in the Visual Studio 2008? What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom controls library, etc). ...

How do I run (unit) tests in different folders/projects separately in Visual Studio?

I need some advice as to how I easily can separate test runs for unit tests and integration test in Visual Studio. Often, or always, I structure the solution as presented in the above picture: separate projects for unit tests and integration tests. The unit tests is run very frequently while the integration tests naturally is run when ...

Tool in Visual Studio 2008 for helping with Localization

Hi, Does anyone have any recommendations of tools that can be of assistance with moving literal values into resource files for localization? I've used a resharper plugin called RGreatX but was wondering if there is anything else out there. It's one heck of a long manual process for moving the strings across and think there must be a b...

Source Control in Visual Studio Isolated Shell

Hi, I am developing an Isolated Shell that caters to "designers/special content creators" performing specific tasks, using the Shell. As they operate on files, they need to be able to use TFS for source control. This is mainly due to the fact that Developers will also operate on the same files from TFS but using Visual studio 2008. Aft...

Visual Studio Extensibility: Adding existing folders to a project

I'm trying to use Visual Studio 2008's extensibility to write an addin that will create a project folder with various messages in it after parsing an interface. I'm having trouble at the step of creating/adding the folder, however. I've tried using ProjectItem folder = item.ProjectItem.Collection.AddFolder(newDirectoryName, string.Emp...

How to add a display name for a decorator in Visual Studio DSL (Domain Specific Language) Tools?

In my DSL project I have a shape with a number of decorators that are linked to properties on my domain class. But even though ieach decorator has a DisplayName property (set to a meaningfull value) it does not appear in the generated DSL project. (I have not forgtten to use regenerate the t4 files.) Do I have to create another decorato...

What is the best pattern/solution to implement 'workflow (a process) for product development'?

Present: The product development is done in Visual Studio at the moment using .Net technologies, so it's important to stay in the same set of tools. Roles apart from developers are using spreadsheets, docs and diagramming tools, photoshop to do their work. Future: We want to build a workflow (a sequential process with roles, queues fo...

What is the best way to separate UI (designer/editor) logic from the Package framework (like Visual Studio Package)

I want to separate concerns here. Create and embed all the UI logic for the Custom XML designer, object model, validations etc in to a separate assembly. Then the Package framework should only register the designer information and ask for a UI Service and everything works magically. This way I don't need to play with the Package framewo...

TFS Get Specific Version addin

I am looking for an addin that will allow me to click a button on the VS toolbar and the following actions should happen. On the highlighted project/folder/item from either Source Control Explorer or Solution Explorer, do a 'Get Specific Version' Click those 2 checkboxes, hit the 'Get' button on that dialog As I find myself doing t...

What are best fit patterns to use when developing VSX Package or Isolated Shell Package?

When I am developing a bunch of designers/tools, what are some of the best fit patterns that go with a VSX Package and/or VSX Isolated Shell Package? Any samples, links would be great. ...

How to add and compile for custom 'Platform' switch for visual studio projects?

We are looking to provide two custom Platform switches (the platform dropdown in the configuration manager) for our projects in Visual Studio. For example one for 'Desktop' and one for 'Web'. The target build tasks then compile the code in a custom way based on the platform switch. We don't want to add to the Debug Release switch becau...

Visual Studio Remote Debugging Extensibility

I'm trying to attach to a remote machine with code similar to the following: Debugger2 db (Debugger2)dte.Debugger; Transport trans = db.Transports.Item("Default"); Process2 proc2 = (Process2)db.GetProcesses(trans, "MACHINENAME").Item("SERVICENAME"); proc2.Attach2(); I've gotten it to work by logging on through remote desktop and manu...

VS2010 Extensibility - how different is it?

A question to those of you who already looked at VS2010. How big are the changes that add-in developers will have to make in order to get their add-ins working under VS2010? ...

Visual Studio and add-in unloading

When I remove an add-in from Visual Studio's add-in menu, it doesn't get unloaded from memory. Does anyone know if I can write some code for my add-in (in C#) that would force this unloading. Is this even possible, or do I have to restart VS? ...

How can I speed up the opening of a WPF window in a VS add-in?

I have a Visual Studio add-in which opens a modal WPF window. My problem is that the first time round, it takes 4 seconds for the window to appear which is a clear disservice to the client. So I'm wondering if there is a way to optimize this away? Is there some kind of nifty code to preload the PresentationFramework (or whatever is slo...

Right way of working with connectMode for VS add-ins

Can someone point me to a guide on how to interpret the connectMode parameter that gets passed when a VS add-in is loaded? ...

Visual Studio Shell (Isolated Mode) Redistributables

Hi, I want to use the Isolated Shell as a front-end for a custom debugger. If I understand correctly, the Visual Studio Debug Package implements the 'User Interface Parts' of the Visual Studio Debugger system, that is, among other things, all the debugger windows (stack, watch, breakpoints etc). Is the VS Debug Package a part of the ...

Does it exist an API for "International Settings" in Visual Studio?

I'm working on Visual Studio Extensibility and I need to set the "shell" language from code. In other words, I'm looking for an API to do the same you can do "by hand" with the Tools -> Options... -> Environment -> International Settings property page. Up to now I didn't find any reference: hints and suggestions are welcome. ;-) Thanks i...

How can I get the VS add-in to write to the Output window?

I want to get my add-in to write to the Output window in Visual Studio. How can I do it? Found the answer here: http://www.knowdotnet.com/articles/outputwindow.html – Dmitri Nesteruk ...