visual-studio-extensions

How can I install an extension so that all users can access it?

不想你离开。 提交于 2019-12-03 06:53:34
Installing extensions in the last few versions of Visual Studio seems easy. However, as far as I understand, they are only installed for the user running the program. How can an administrator install an extension system-wide so that it is available to all users in Visual Studio? I'm aware that a small portion of extensions are provided as installers that install the extensions for all users, however, most extensions seem to be provided as VSIX files. Sergey Vlasov VSIXInstaller.exe has the /admin switch that should install an extension for all users. You can to find and download the needed

How to add a button to Visual Studio Intellisense

会有一股神秘感。 提交于 2019-12-03 06:20:43
问题 I would like to add a button to the top of the list of options returned by Visual Studio's IntelliSense. When the button is clicked, my custom code will be executed (which will, among other things, cause a popup to appear). I call it 'button' because when the user click the item, I want a popup window to appear, as opposed to the normal IntelliSense action of completing the user's input. Eg When we input a class name into the text editor, normally the static properties and static methods will

Registering an unpacked VSIX extension via MSI without using devenv /setup

不羁岁月 提交于 2019-12-03 04:41:27
We have a Visual Studio extension, currently installed with MSI, since we need to perform certain tasks after the installation (ngen, registering certain COM servers, etc). In the end of the installation, we run devenv.exe /setup (more specifically, devenv.exe /setup /nosetupvstemplates to make it a bit faster) to register the extension in Visual Studio 2012 and above (in 2010 this step was not required, since VS2010 would rebuild the extensions cache on every startup). We're currently looking to move to a partial VSIX installation, but there are certain issues: We have a certain folder

Insert a new GUID to Visual Studio 2012

吃可爱长大的小学妹 提交于 2019-12-03 04:15:27
问题 Is it possible to create a code snippet or something similar to automate the process of generating and inserting GUIDs in to the text editor in Visual Studio 2012? I frequently need to generate new GUIDs (WiX installer for example, as well as our own internal framework). I used to use a macro to perform this job, creating a new GUID and then inserting it in to the current ActiveDocument. I would the bind the macro to Shift-Ctrl G so I could rapidly insert a new ID without having to launch the

Sync Extensions in Visual Studio 2013 between multiple machines

♀尐吖头ヾ 提交于 2019-12-03 02:31:14
I'm sure this is a common problem, but I can't find much info about it. Problem I have a work computer, a home computer, a surface, and maybe some Azure VMs that i'd like my visual studio 2013 extensions synced across them. I seem to have to refresh/wipe a computer fairly often, and re-installing all the extensions I like to use is sort of a pain. I initally thought the new VS Profiles would do this, but apparently they only sync themes/general settings. Attempted/Outdated Solutions There used to be an extenstion that apparently did this Extension Sync But that looks like it's only for VS 2010

Visual Studio Productivity Power Tools configuration settings

a 夏天 提交于 2019-12-03 01:55:44
I'm trying to figure out where the Visual Studio Productivity Power Tools settings are stored. I recently moved to a new instance of visual studio and I've lost all of my Power Tools regex tab coloring settings. They are clearly not part of the normal VS2010 settings file, as I exported and imported this already. Any help would be great! It's just stored in the registry under HKCU\Software\Microsoft\VisualStudio\10.0 It seems the regexes are under ...\DialogPage\Microsoft.DocWellBehavior.Options.ColorCodingOptions 来源: https://stackoverflow.com/questions/11087469/visual-studio-productivity

Visual Studio SDK - Handle File Save Event

半城伤御伤魂 提交于 2019-12-03 01:50:47
I would like to run a script after files with certain extensions are saved in visual studio. I am wondering where the event handler for saving a file is located in the Visual Studio SDK API. Can anyone point me in the right direction in terms of API documentation for visual studio extensions. I have found the Visual Studio SDK Reference but some direction or sample examples would be helpful. I want to create partial designer files that are usually generated when the project is built (Mono for Android Project), my files will have temporary values, but are only intended to enable intellisense

Cannot run VSPackage when developing on multiple machines

♀尐吖头ヾ 提交于 2019-12-02 21:59:15
we are working on a VSPackage in a team, using Visual Studio 2012 and TFS. The extension works fine on the computer used to create it (through a wizard). On another computer, Visual Studio says that "a project with output type of class library cannot be started directly" when we attempt to run it (with F5). The output of the project is indeed class library, and pressing F5 on the first machine starts Experimental Instance of Visual Studio with the extension loaded and working. By looking at "%LOCALAPPDATA%\Microsoft\VisualStudio\11.0Exp\Extensions" on the second computer, we see that the

Update Private Gallery atom such that VS shows that an extension update is available

谁说我不能喝 提交于 2019-12-02 21:58:25
I'm using a Visual Studio Private Gallery to publish a VSIX internal to my company. My VSIX shows up in the "Online" section of "Extensions and Updates" in Visual Studio 2012 and I can install it from there: However, once it's installed, I can't figure out how to update my extension in a way that makes it show up in the "Updates" section of that same dialog box, nor can I figure out how to make Visual Studio notify me that an update is available. I've tried various combinations of the following: Increasing the version number in the VSIX itself and in the atom.xml Changing the updated tag

Extension for Visual studio unknown error - unable to push or fetch anything

ⅰ亾dé卋堺 提交于 2019-12-02 20:41:51
I have an error when I try to push anything to my bitbucket repository via Git extension for visual studio: Error encountered while pushing branch to the remote repository: Git failed with a fatal error. HttpRequestException encountered. An error occurred while sending the request. cannot spawn /C/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/CommonExtensions/Microsoft/TeamFoundation/Team Explorer/Git/mingw32/libexec/git-core/git-askpass.exe: No such file or directory could not read Password for ...... What could be the issue here? It seems to affect some Visual Studio