visual-studio-sdk

Creating a custom designer

折月煮酒 提交于 2019-12-06 05:26:30
I've been asked to create a Custom Designer for Visual Studio. In this designer a programmer can create/edit Forms with controls and position them. The input and result will be used and compiled by an external system (Sesam i've been told but never heard of it) The format will be in XML. The question is, where do I start, is it even feasible to create a Custom Designer? You can create custom designers, but how you go about it depends on your requirements. If you're lucky, you can get away with a simple extension which handles editing certain types of files, such as the Snippet designer You can

How to extract compilation args for each compilation unit in a vcxproj?

筅森魡賤 提交于 2019-12-06 02:49:47
I'm trying to get the compilation args for each compilation unit so I can create the " compilation_commands.json " for my vcxproj that can be used with clang's libTooling. The libTooling tutorial suggests using a CompilationDatabase to provide the compilation args for all the cpp files in a project. The tutorial shows that CMake can generate the compilation_commands.json for CMake based projects. Since clang can be put into "MSVC mode" via clang.exe --driver-mode=cl or clang-cl.exe my thought was if I could get the compilation args for each cpp file in my VS2012 project I can create the

Get namespace in a Code Snippet

南楼画角 提交于 2019-12-05 02:03:44
问题 The Microsoft link here lists three methods that we can use. But how do we get the current namespace? I see there is a similar question, but the answer to that is using Macros, which doesnt solve this specific question. The NameSpace() to do something like this: <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> . . </Header> <Snippet> <Declarations> <Literal> <ID>namespace</ID> <Function>NameSpace()</Function> </Literal> <

What do I need to install to get Microsoft.TeamFoundation.WorkItemTracking.Client.dll?

偶尔善良 提交于 2019-12-04 08:16:53
问题 Do I simply need to install the VS2010 SDK? Is there such a thing as the TFS2010 SDK, and if so, would that be the thing I need to install, and if so, where can I get it? On Microsoft's "Extend Visual Studio" web site, I saw a link to example code for the "TFS 2010 SDK" but I could not find the TFS 2010 SDK itself. The reason I am asking: I am building a codebase that is not mine, which depends on Microsoft.TeamFoundation.WorkItemTracking.Client.dll . 回答1: You need to install the TFS Team

Visual Studio Shell - Creating a Custom IDE

浪尽此生 提交于 2019-12-04 04:26:42
I know this is a very broadly scoped question, but what do I need to know to begin creating a branded, custom IDE for course-ware using the VS Shell in isolated mode. Very little useful info on this beast is available through searches, so I'm hoping for some tips and references from gurus that have been through the apparently difficult exercise of using this foundation. You can start over here: http://msdn.microsoft.com/en-us/vsx/default.aspx Here you have a basic example of how to build an isolated shell: http://msdn.microsoft.com/en-us/library/bb685514.aspx If you redo the walkthrough you

Where can I find WSDL.exe?

六眼飞鱼酱① 提交于 2019-12-03 22:03:01
I have Visual Studio 2010 Ulitmate (with MSDN Premium), but I can't seem to find this file. I have tried installing the Visual Studio SDK but I can't seem to find the file. I have looked in: C:\Windows\Microsoft.NET\Framework\v3.5 C:\Windows\Microsoft.NET\Framework\v4.0.30319 C:\Program Files (x86)\Microsoft Visual Studio 10.0\SDK\v3.5 But I can't seem to find it. (In case you are wondering, I need it to perform these steps .) user213702 it should be under C:\Program Files (x86)\MicrosoftSdks\Windows\v7.0a\Bin . You should be able to use wsdl from visual studio command prompt and typing path

Do Visual Studio Extensions (VSIX) need to be strong named?

霸气de小男生 提交于 2019-12-03 17:41:40
问题 The default VSPackage template in the Visual Studio 2012 SDK generates a project which uses strong naming. Because strong naming is transitive, this means that any references I add (e.g. another project in the same solution, or a third-party dependency) also need to be strong named. Since I don't feel comfortable strong-naming third-party dependencies, I'd prefer to remove the strong naming from my VSIX. What are the disadvantages of doing this? 回答1: If you are already VSIX-deployable and don

Get namespace in a Code Snippet

99封情书 提交于 2019-12-03 16:38:38
The Microsoft link here lists three methods that we can use. But how do we get the current namespace? I see there is a similar question, but the answer to that is using Macros, which doesnt solve this specific question. The NameSpace() to do something like this: <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0"> <Header> . . </Header> <Snippet> <Declarations> <Literal> <ID>namespace</ID> <Function>NameSpace()</Function> </Literal> </Declarations> <Code Language="csharp"> <![CDATA[ $namespace$ ]]> </Code> </Snippet> </CodeSnippet> <

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

VS 2013 SDK: How to keybind hotkey only for Code Window Editor?

巧了我就是萌 提交于 2019-12-02 04:56:03
问题 In C# or else VB.Net , using a Visual Studio Package , I would like to assign a custom keyboard shortcut to a CommandBarButton , for example Ctrl + E + R , then, when pressed, the associated CommandBarButton should call its Execute method (I imagine that). How I could do it?. Update ( please avoid question above, that issue was already answered. ) Actually I'm using an vsct file, then my keybinding is this: <KeyBindings> <KeyBinding guid="guidMainCmdSet" id="cmdidMyCommand" editor=