Quantcast
Channel: Visual Studio Integrate forum
Browsing all 4410 articles
Browse latest View live

VSPackage: How to style WPF tool windows to use current Visual Studio color...

Hello everyone.I am developing a VSPackage which contains a custom tool window. I have build the custom tool window using WPF, but the controls are all shown without any visual styles applied.I would...

View Article


information on how to implement syntax validation in a background thread

I am the author of the extension TextHighlighterExtension2012 and TextHighlighterExtension for VS 2010. Both extension provides color coding and syntax validation for JSON. But the syntax validation is...

View Article


Programmatically open Pending Changes window and add Work Item

I develop extension for Visual Studio (2012).I need to programmatically open Pending Changes, change text in Comment input and add Work Items to Pending Changes.I use the following code:var tfsExt =...

View Article

Use a usercontrol in VSPackage

I'm just learning VSPackage making and already come across a problem.I noticed that the toolwindow display is an xaml control but is it possible to use a normal winforms type UserControl as the...

View Article

ItemAdded or add item inside a msbuild condition

Hello,I use EnvDTE.ProjectItemsEvents.ItemAdded to get the projectitem that was added. But I need to either put it inside a <Choose><When Condition> or to add a condition attribute to the...

View Article


Highlighting code window of visual studio based on line number using VSPackage

I'm building a VSpackage extension to create "VisualStudio Tool Window". I have a grid inside tool window, consisting of numbers. If a user selects a particular row of the grid. That particular line...

View Article

Process created in LaunchSuspended immediately Terminated

Hello,I am writing a custom Debug Engine to debug on a remote device in VS2010 Ultimate on Windows 7.I have a class which implements the IDebugEngine2 and IDebugEngineLaunch2 interfaces. I am able to...

View Article

How to create setup for Visual Studio 2010 Plug-in.

I have created a add-in in visual studio 2010 that will run on the c# project to analyze the code. This add-in references many other assembly also.Now, i want to create a setup project so that i can...

View Article


SDK Package:How to monitor build action changed in property window

How to monitor build action changed in property window.1. when I changed the build action and the event did not fire.I used code below but did not work:    HierarchyEvents hierarchyEvent = new...

View Article


Image may be NSFW.
Clik here to view.

How can I add file type to Visual studio 2012 c++ windows store project and...

Now I am developing a extension for Visual studio, Now I 'd like to set some file 's default build action in c# and VB. But now the C++ project and JS project are different with C# and VB How can I...

View Article

Not enough lines in the console

I'm working with the console designing a recursive method. I'm using the console to review the results and help debug.  However, when i try to scroll up to see my results, it seems that I can't see the...

View Article

Image may be NSFW.
Clik here to view.

How to highlight a row with specific color in IvsTextView

As shown in the above image, I have implemented my own editor. When I use the SetSelection() method of the TextView of this code window, the selection is marked as shown (in a blue box/stream) but I...

View Article

Register new Commands during Runtime in VS & assign Keyboard Shortcut to them?

Good afternoon,I have a VS Package with several custom toolwindows & inside one of these ToolWindow types we host MEF loaded/managed, dynamic 'plug-ins' for the main functionality and some of these...

View Article


Macros in Visual Studio 11 Developer Preview

Have macros been stripped from Visual Studio 11 completely? I can't find any reference to them, or panes like Macro Explorer, in the Developer Preview build. Or, is it just that they're not in this...

View Article

VS2010 need help programatically adding x64 platforms to existing C++ solutions

This is proving to be more difficult than I expected.My original plan was to record a macro in VS2010 that recorded me manually adding in the x64 platform.  Then I was going to call devenv.exe to...

View Article


Intellisense not loading (SDK)

I'm trying to port a VS 2010 intellisense extention to 2012 using the VS SDK but it doesn't load.I'm using the following code that was working on VS 2010, and nothing happend when I debug it. the...

View Article

Working sample code to add a virtual node in a c# project flavored

Hello,I can't find code samples and even info about how to implement a virtual node in a c# project flavor.I have a List<string> that I want to display in a virtual node of the project treeview....

View Article


VS 2012 generate .cs file from Json Schema file .json

Hi,Please help me!!I have Visual Studio Express 2012 for web in my machine, I want to generate .cs file from Json Schema file (.json extension).  I am unable to install Web Essentials 2012 on top of...

View Article

I have installed VS 2012 recently but i couldn't get the cloud template

Hi all, I have recently installed VS 2012 professional ,when i'm trying to open cloud template it is asking"Get Windows Azure SDk for .Net" even though i had installed all azure tools and SDK. It would...

View Article

VS2012 package EnvDTE - Replacing text in box selection

I'm having difficulty getting my VS2012 package to reliably replace text in a box selection using EditPoint.Replace, when the box selection is 0 chars wide (i.e., I've extended the cursor up or down by...

View Article
Browsing all 4410 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>