vsix

How to uninstall .vsix Visual Studio Extensions?

天大地大妈咪最大 提交于 2019-12-02 15:02:39
I am currently trying to install the XNA Game Studio for Visual Studio Express 2013. And I accidentally ran the .vsix program BEFORE actually installing the XNA framework. After installing it and re-running the .vsix, I get a message error saying that the extension has already been installed. Which is not false. I have tried a lot of things to "delete" the empty extension : going in %LocalAppData%\Microsoft\VisualStudio and trying to find the extension, but finding myself with nothing, for example. I would like to know how I can properly uninstall and reinstall the framework. Jonas Libbe In

Update Xml File (vsixmanifest)

我是研究僧i 提交于 2019-12-02 13:23:07
问题 I'm creating a Visual Studio 2013 Package (vsix) (shameless plug: pMixins ). As part of my quest to use TeamCity as a continuous integration server, I have configured Team City to build the .vsix Package (Visual Studio Package (vsix) - Team City without Visual Studio installed). Now I want to configure Team City to set the Version in the VSIX Schema: <?xml version="1.0" encoding="utf-8"?> <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d=

WPF window textbox - editing text affects different window

試著忘記壹切 提交于 2019-12-02 09:55:06
I am writing a Visual Studio extension for our Dev team (a VSIX solution). When the user activates the extension, they get a form which is a very simple WPF window. The window is loaded using the following code: var myWindow = new SomeWpfWindow(myArgs) { Owner = Application.Current.MainWindow }; myWindow.Show(); This opens and displays a form that the user fills in. The form has lots of TextBoxes that undergo 2-way binding to the DataContext. Nothing too out of the ordinary. Well, apart from the TextBox behaviour.... When I type characters in the textbox ("blah blah blah") then I see these

How to register my service as a global service or how can I use MEF in my scenario?

淺唱寂寞╮ 提交于 2019-12-02 07:39:57
I would like to create my own service with global visibility. To implement that, I followed this sample solution. Everything goes well, I can call my service within a class, which extends from the Package abstract class, in this way: public class ClientPackage : Package { private void GetGlobalServiceCallback(object sender, EventArgs args) { IMyGlobalService service = GetService(typeof(SMyGlobalService)) as IMyGlobalService; } } Because I'm in a Package, I can easily call GetService and I can get my service. But what about if I want to get my service from a class, which is not extends the

Show tooltip on hover over text

最后都变了- 提交于 2019-12-02 06:54:20
问题 I want to create extension that allows to show custom message when I hover over a text. E.g. "test-text" should give tooltip "OK" instead of current "ITrackin..." I tried to follow https://docs.microsoft.com/en-us/visualstudio/extensibility/walkthrough-displaying-quickinfo-tooltips?view=vs-2019 but people are stating that it is not working and it's quite long way of doing this. I cannot find any more docs on this. I know how to display it in on-click window/get currently selected text. 回答1:

Is it possible to have a vs2010 vsix check for updates locally?

依然范特西╮ 提交于 2019-12-02 04:44:53
I'm writing a project structure and code analysis extension for visual studio at work. The project can not be published to the Visual Studio Extensions Gallery. Is there any way to manage updates and deployment built in to visual studio so that a team can use the extension and get the update prompts? No, this is not a supported operation on Visual Studio 2010. I just verified this with the extension manager team. Looks like you can do this now with Private Galleries ! 来源: https://stackoverflow.com/questions/3570406/is-it-possible-to-have-a-vs2010-vsix-check-for-updates-locally

WPF modal window in Visual Studio Extension blocking input

╄→гoц情女王★ 提交于 2019-12-02 04:31:30
Using the following tutorial , within a VSIX project, I created a WPF window that inherits from Microsoft.VisualStudio.PlatformUI.DialogWindow, and I display this modally using the following code: var myWindow = new MyWindow(myParameters); myWindow.ShowDialog(); When I compile this in RELEASE mode and start without debugging [Ctrl+F5], it opens the Experimental version of Visual Studio. Here, I open another Solution and then execute my Modal Window. The window works just fine - I can type in text boxes etc, etc. However, when I close the modal dialog window [using this.Close()], the problems

How to include VSIX output in it's package?

不羁岁月 提交于 2019-12-02 03:35:56
I have created a VSIX package and I want to include it's output dll in the VSIX, I have tried adding MEF component refrencing to itself in vsixmanifest file in Assets section, but it doesn't resolved. any idea? Open your project file with notepad and set this items to true <IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer> <IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer> <IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment> <CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>

VSIX package doesn't include localized resources of referenced assembly

梦想与她 提交于 2019-12-02 00:31:02
问题 I'm creating a VS2010 extension (let's call it MyExtension ). The UI for this extension is in a different assembly ( MyExtension.UI ), the extension project only contains boilerplate code to call the UI from the menu command. MyExtension.UI contains localized resources (e.g. fr\MyExtensions.UI.resources.dll ), but the VSIX package doesn't include these resources (although they are present in the bin\Debug directory). How should I tell VS to include these resources in the VSIX package? I

VSIX window - key shortcut to execute ICommand

家住魔仙堡 提交于 2019-12-01 21:21:56
Having a Visual Studio extension (VSIX) project: In Window we got UserControl , which have Button binded to some ICommand . This works perfectly as expected, however I would like to attach a key shortcut (e.g.: CTRL + S ) which would fire the same Command . I have checked several questions, in which I found the most useful this code: <UserControl.InputBindings> <KeyBinding Modifiers="Ctrl" Key="Esc" Command="{Binding SaveCmd}"/> </UserControl.InputBindings> However the Command is never fired from the key-press, I think the issue(s) might be: code above should not be working? (I found article