visual-studio-extensions

Unable to download any Microsoft Visual Studio 2019 Extension

安稳与你 提交于 2019-12-24 07:50:04
问题 This issue has been there for a while now. My internet connection is very good. However, I am unable to download any VS marketplace extension. I am able to get all extension lists from VS, but always unable to download it from Extensions -> Manage Extensions or even from VS marketplace website 回答1: I am able to get all extension lists from VS, but always unable to download it from Extensions -> Manage Extensions or even from VS marketplace website. When you click the Update button in VS

how to update Visual Studio UI when using DynamicItemStart inside a vsix package

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 07:46:12
问题 I'm implementing a DynamicItemStart button inside a Menu Controller. I'm loading the dynamic items for this button when Visual Studio starts. Everything is loaded correctly so the initialize method is called an I see all the new items in this Dynamic button. After the package is completely loaded I want to add more items to this Dynamic button, but since the package is already loaded the initialize method is not called again and I cannot see the new items in this Dynamic button. I only see

Visual Studio Extensions and Visual Studio 11 Dev. Preview

余生长醉 提交于 2019-12-23 18:53:17
问题 I am unable to install lots of extensions to Visual Studio 11 Dev. Preview. It keeps saying This extension is not installable on any currently installed products. . I have only VS 11 Dev. Preview installed on my machine. Is this only happening to me? Hasn't MS implemented the support for VS 11 to install the extensions made for VS 2010? Is MS out of its mind ( I don't think so but you never know ) and not going to support those? 回答1: rename the extension to be a zip file, edit the manifest in

MSBuild command line execution of Visual Studio 2010 Solution fails referencing VS2010 SDK to build an extension

微笑、不失礼 提交于 2019-12-23 18:11:17
问题 Scenario Solution that has a VS2010 extension in it (.NET 4 Class library, with a WPF UI) It builds fine inside visual studio On the same machine when I attempt to build it via command line (as part of a build script) Fails when using this command to attempt to build it: msbuild JsExt.sln /t:Build /p:Configuration=Debug /p:OutDir=..\..\Binaries Update To MSBuild Adding /property:VsSDKInstall="C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\VSSDK" leads to this exception...

GetClassificationSpans in Visual Studio 2015 doesn't return anything

笑着哭i 提交于 2019-12-23 13:39:36
问题 I have a tagger (subclass of ITagger) and I'm trying to call GetClassificationSpans so I can use the classifications to find comments to format using tags. This worked in Visual Studio 2013, but now when running it in Visual Studio 2015, GetClassificationSpans always returns an empty list - even when I've examined the span in the debugger and it is definitely passing a span with a comment in it. Does anyone know what could have changed in 2015 in regards to calling GetClassificationSpans? BTW

Import/Export VS settings programmatically?

此生再无相见时 提交于 2019-12-23 12:50:04
问题 Is there a way to import/export Visual Studio settings via a Visual Studio Extension, i.e., via the Visual Studio API? I want to export some specific settings to a local file, just like the VS Import and Export Settings Wizard does, however, without UI interaction of course. 回答1: There is a Visual Studio Command named Tools.ImportandExportSettings You can execute the Command with DTE2.ExecuteCommand Import/Export example: dte2.ExecuteCommand("Tools.ImportandExportSettings", "/export:\"C:/temp

Accessing current Microsoft account from Visual Studio extension

北慕城南 提交于 2019-12-23 12:24:24
问题 I am writing a VS extension which will need to communicate with a server and identify the user, and I figured that if possible, since this extension will be the only client connecting to the server, using Visual Studio's built-in support for Microsoft accounts would make more sense than implementing my own account management infrastructure. At first, because of the variety of useful APIs available to a Visual Studio developer, one might think that getting info on the current user would be

“Visual Studio Extensions for Windows Library for Javascript” Won't Update

家住魔仙堡 提交于 2019-12-23 09:06:26
问题 Pounding on the update button in this screenshot does nothing. Nothing is downloaded, installed, etc. No message, nothing at all! Clicking "Release Notes" and "More Information" also does nothing. Searching for this update yields nothing useful, too. What ever shall I do? 回答1: Is Google Chrome your default browser by chance? I see the same behavior in that case, but not when IE or Firefox is. What Wade suggested earlier is precisely the file that pressing that button would have downloaded for

How to notify the editor about document changes

和自甴很熟 提交于 2019-12-23 05:25:07
问题 I work on a custom project system and I have an issue with renaming items. The project system implementation is based on MPF and renaming items via the solution explorer worked more or less without any problems, but... When an item gets renamed, I also update information which are stored in the file itself. In case the document is opened by the code editor, the text in the editor doesn´t get refreshed (only the document window´s caption changes to the new filename). If I save the open

Accessing VSTS service endpoints from javascript

戏子无情 提交于 2019-12-23 04:21:31
问题 I am trying to access the service endpoint setup in my extension code. The extension is as follows: { "manifestVersion": 1, "id": "vsts-extensions-myExtensions", "version": "0.5.1", "name": "xxx Projects Time Entry", "description": "Record time spent in xxx Projects", "publisher": "xxx", "targets": [ { "id": "Microsoft.VisualStudio.Services" } ], "icons": { "default": "img/logo.png" }, "contributions": [ { "id": "xxTimeEntry", "type": "ms.vss-dashboards-web.widget", ... }, { "id": "service