envdte
Web Application Project URL - from EnvDTE
Is it possible to get the URL for a web application project from the EnvDTE Project object? i.e. I want the URL I see in Visual Studio when I look at the Web tab in Project properties.[详细]
2023-03-19 09:26 分类:问答How can I force a cast from EnvDTE.Thread to System.Threading.Thread?
In a VS extension project, I am trying to create a mapping of the process threads, cast as both EnvDTE.Thread (to access the Freeze and Thaw methods), and System.Threading.Thread (to access the Manage[详细]
2023-03-18 07:58 分类:问答Adding a custom build step with a nuget package
I am developing a nuget package which will set up the current project to use my company\'s assembly versioning standard. I\'ve got it doing everything I want (so far) smoothly apart from adding in a c[详细]
2023-03-16 00:33 分类:问答Package a SharePoint solution from the DTE
Is there a way to package a SharePoint solution in a .wsp file from the Visual Studio dte? I can build the solution with the following command:[详细]
2023-03-15 16:37 分类:问答Visual Studio Macro: How to format xml files?
I derived a small macro script from Visual Studio Macro to Format all Files in a Solution but unfortunately it doesn\'t work with xml, xaml, config etc. All ProjectItem that are xml-based normally thr[详细]
2023-03-06 21:56 分类:问答Get types used inside a C# method body
Is there a way to get all types used inside C# method? For example,开发者_开发百科 public int foo(string str)[详细]
2023-02-26 05:26 分类:问答How do I Edit a .cs file in a Add-In Project using DTE
I\'m trying to write my first add-in for vs2010, but im struggling. I have a assembly that generates lots of cs files. I want my plugin to add new files to the select project or if the files exist, o[详细]
2023-02-20 19:37 分类:问答Add item to Error List in Macro
I want to notify the user of the macro if something went wrong during the execution of the macro. I was wondering if it would be possible to add an item to the Visual Studio error list?[详细]
2023-02-15 08:15 分类:问答Visual Studio 2010 add in - events not triggered
I have written an add in that takes the active document as a parameter. So each time that the active document has changed, I need to know. To do so, I wanted to use \"Events.DocumentEvents.DocumentOpe[详细]
2023-02-14 16:42 分类:问答Adding controls to a form when I only have the reference to it’s EnvDTE
I am writing na Add-In for Visual Studio 2010, and I want it to add controls to an existing Form in an existing Project in an existing Solution, and I already have references to all of them.[详细]
2023-02-14 11:59 分类:问答