visual-studio-extensions Questions

2

Solved

Hi I am having a problem, with a custom build task inside of a Visual Studio Extension. I need to identify projects of my custom project type. I can do this fine if they are on the root of the solu...
Liscomb asked 3/8, 2016 at 10:18

1

I have a lots of mapping profiles, how can I find the correct mapping configuration from specific map operation in source code? Can Resharper or a Visual Studio extension help? I would like to jum...
Marinate asked 12/2, 2018 at 16:6

2

How to open file programmatically using EnvDTE in C#.
Vitascope asked 18/2, 2011 at 8:47

1

Solved

I'm trying to create an extension VSPackage for VS2017 (in C#) which would convert binary data to XML, opens that in the default VS XML editor and XML language service, and then converts it back to...
Sheldonshelduck asked 12/10, 2017 at 10:28

1

I'm using the SettingsManager in my Visual Studio extension to store user settings. SettingsManager settingsManager = new ShellSettingsManager(ServiceProvider.GlobalProvider); var store = settings...
Tomy asked 25/9, 2017 at 2:52

1

Solved

Is there an easy way to backup the installed extensions list in VS (2017), so that when I install the machine anew I can easily install my regular extensions at once? Note: I've found this questio...

1

Solved

I need to show popup use TextViewAdornment, it's require IWpfTextView. There is old code to that: private IWpfTextView GetWpfTextView(IVsTextView vTextView) { IWpfTextView view = null; IVsUserDa...
Passing asked 18/8, 2017 at 8:20

2

Solved

I'm working on a VS Extension that needs to be aware of which class member the text-cursor is currently located in (methods, properties, etc). It also needs an awareness of the parents (e.g. class,...
Barling asked 27/7, 2017 at 19:8

2

Solved

I used Visual Studio 2015 Color Theme Editor and now I would like to use this extension for Visual Studio 2017. On the other hand, according to The Visual Studio Blog, it has not been updated yet. ...

3

Solved

Can I create an extension for Visual Studio that runs in the background as soon as the user opens the Visual Studio IDE? For example, I am building an extension that gets the current active file ad...

1

The extension I am writing started life from the Walkthrough: Creating a Margin Glyph example provided by Microsoft: https://msdn.microsoft.com/en-us/library/ee361745.aspx Everything works fine, e...
Oftentimes asked 21/4, 2016 at 6:2

1

Solved

I'm trying to detect when mouse enters VS 2017 title bar, but I've noticed that MouseEnter and MouseLeave events don't work correctly. Event fires only when mouse enters child controls outlined by ...
Stochastic asked 29/6, 2017 at 6:10

3

Solved

I'm looking for an extension/process for getting an object's assembly qualified type name within Visual Studio. I'm aware that you can write a quick console app to output this but find it to be a c...
Timotheus asked 19/12, 2011 at 19:46

2

My goal is to create a "Visual Studio Extensibility" which adds a "Npm install" Context Menu Item to a package.json file. So far, this works great if I open a solution, because I've added the [Pro...

1

Solved

I keep getting this error occasionally. It is really annoying because sometimes it fixes itself, but mostly I just have to close VS and reopen and then it will work again for a while. It happens w...
Doubleripper asked 24/8, 2016 at 17:18

2

Solved

I'm creating a VS extension, and I want to add a file to solution and set some properties. One of them is Copy to output directory, but I cannot find a way of setting it. Setting Build action works...
Whose asked 28/3, 2017 at 11:10

0

I'm working on a Visual Studio extension project, providing language service for Lua(this feature is already done). Now I'm going to add a project type for Lua. Now there will be two VsPackage clas...
Diantha asked 15/3, 2017 at 16:41

2

I'm writing a debugger extension VSPackage in which I want to execute a statement in the debugged process when a breakpoint is hit. In my extension code I have this: void Initialize() { // ...sta...

4

Solved

While updating or uninstalling Visual Studio Installer Projects Extension Preview the step "Microsoft Visual Studio Preparation" is taking enormous amount of time. I may say it gets stuck. My susp...
Lamonicalamont asked 14/6, 2014 at 6:13

3

Solved

I've created a Visual Studio extension that provides intellisense for my domain specific language by inheriting from Microsoft.VisualStudio.Language.Intellisense.ICompletionSource. This works ok, ...

4

Solved

I'm running Visual Studio 2015 with some extensions. I'm trying to debug the following error I'm getting: The errors are logged in ActivityLog.xml: 440 ERROR A MEF Component threw an exception at ...

2

Solved

I'm developing my first Visual Studio (2015 Community) Command Menu and I'm trying to get access to IEditorOperations to delete text, send backspace etc. but I'm not sure how to. I can do: var Ser...

2

I have a Project instance, and I don't understand how to find out the project type/language. Specifically, I need to check for a C/C++ project. The docs seem lacking. Previously, another person a...
Preliminaries asked 16/12, 2016 at 8:44

1

It is necessary to move the project from the Solution to SolutionFolder. I am trying to remove the project from the solution and add it back into the folder using EnvDTE SolutionFolder.AddFromFile(...
Lungki asked 15/12, 2016 at 7:56

1

With extension I meant a Visual Studio Extension. I want to know if there's a way to autogenerate a ToString method with an already created extension. I want to have a class with some properties an...

© 2022 - 2024 — McMap. All rights reserved.