vsx

Source Control in Visual Studio Isolated Shell

匆匆过客 提交于 2019-12-04 20:34:54
I am developing an Isolated Shell that caters to " designers/special content creators " performing specific tasks, using the Shell. As they operate on files, they need to be able to use TFS for source control. This is mainly due to the fact that Developers will also operate on the same files from TFS but using Visual studio 2008. After looking and searching I still could not find Team Explorer to be available to Shell. Asking on MSDN forums, lead me to the answer that "this is not supported yet in the Isolated Shell". Well, then the whole point of giving away a shell is not justified, if you

Visual Studio 2010 Extensions

隐身守侯 提交于 2019-12-04 16:33:48
I'm writing my own abstract extension for Visual Studio 2010, it makes similary functionality as Ook Language Integration . I have a question, is it possibly to mix my own AutoCompletion with standart C++ autocompletion of VS? How to do it? Is in need to use libraries of VS and call some methods? This is a very good example about adding features to C# intellisense. First of all you should capture the completionSession and use it. Like this snippet, but in C++ [Export(typeof(IIntellisensePresenterProvider))] [ContentType("text")] [Order(Before = "Default Completion Presenter")] [Name("Object

How to deploy and register a VSPackage supporting multiple versions of Visual Studio (2005, 2008, 2010)?

我与影子孤独终老i 提交于 2019-12-04 14:21:47
问题 I have an open source VSPackage that I would like to release with support for Visual Studio 2005, Visual Studio 2008, and Visual Studio 2010. I'm trying to figure out how to create the installer and how to perform the package registration with each edition of Visual Studio. The deployment research I've done indicates my best bet for an installer is a VSIX inside an MSI. The registration research I've done is a lot less clear. VSPackage registration seems to differ for every edition (VS2005

How do I programmatically add a file to a Solution?

元气小坏坏 提交于 2019-12-04 08:00:22
I am developing a VS Package and part of the functionality that I need to implement is to add a file to the Solution Items of the currently open Solution. This is exactly the same action that would be performed manually if you right-click on a Solution and choose Add > Existing Item. Then selected a file on disk. I have taken a good look at the DTE and DTE2 interfaces and can see the operations to add and manipulate projects but there doesn't appear to be any operations for adding individual files. Thanks. Ok, I realised I could just record a Macro to capture the operation then examine the

Visual Studio CommandBar “Names”

时光总嘲笑我的痴心妄想 提交于 2019-12-04 05:10:47
In Visual Studio 2010, the only option you can create is a commandbar under "Tools" on the "MenuBar". In some cases, I would want to know how to place the command bar on the standard bar, or be found when I right-click a project file. Example: Microsoft.VisualStudio.CommandBars.CommandBar menuBarCommandBar = ((Microsoft.VisualStudio.CommandBars.CommandBars)_applicationObject. CommandBars)["MenuBar"]; By default it shows "MenuBar" and I am certain there is others, such as "Standard". However I am unable to find the resources or documentation for the list, and I wonder if anyone know where to

Tool in Visual Studio 2008 for helping with Localization [closed]

时光毁灭记忆、已成空白 提交于 2019-12-03 17:11:30
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Does anyone have any recommendations of tools that can be of assistance with moving literal values into resource files for

Is it possible to refresh WCF service reference from VS2010 addin?

孤街浪徒 提交于 2019-12-03 12:29:29
问题 I want to "simulate" the Right click/Update service reference command in a VS2010 addin. I have a reference to the containing (Silverlight...) project, I know the name of the service reference and the url of the service. I've found this: http://dedjo.blogspot.com/2007/03/adding-web-references-to-your-vs.html , but it only works for asmx (it uses System.Web.Services instead of System.ServiceModel), not wcf. Is there any choice but call svcutil from code? if so, how? (do I use svcutil or

Suppress “No Source Available” pane in 2010

别来无恙 提交于 2019-12-03 12:18:52
Arg! I have a custom "harness" executable running my class library project. Every time I step into the harness's code, I get that "No Source Available" pane popping up. As I know there is no source available, and that this is completely expected, I don't want this very intrusive and useless pane popping up every time. How can I suppress it completely? I can make it smaller at least by making that window part of another smaller pane-set, such as with the watches/locals. It remembers its location from run to run, but its still useless. There might be a more general answer to this question - how

Subscription to DTE events doesn't seem to work - Events don't get called

你离开我真会死。 提交于 2019-12-03 11:09:09
I've made an extension inside a package and I am calling the following code (occurs when a user presses a button in the toolbar): DocumentEvents documentEvents = (DTE2)GetService(typeof(DTE)); _dte.Events.DebuggerEvents.OnEnterBreakMode += DebuggerEvents_OnEnterBreakMode; _dte.Events.DebuggerEvents.OnEnterDesignMode += DebuggerEvents_OnEnterDesignMode; _dte.Events.DebuggerEvents.OnContextChanged += DebuggerEvents_OnContextChanged; _dte.Events.DocumentEvents.DocumentSaved += new _dispDocumentEvents_DocumentSavedEventHandler(DocumentEvents_DocumentSaved); _dte.Events.DocumentEvents

How to create a new project type in VS2010?

喜夏-厌秋 提交于 2019-12-03 06:53:24
问题 I've figured out how to create a new template , but I need a little more power than that. I need to override what happens when you click the "Run" button for example -- I want it to fire up a development server and then pop open my web browser. So, how can I add an entirely new project type? And preferably, how can I base it on another project type, such as IronPython? I know ASP.NET MVC is open source and is quite similar to what I'm trying to do, but I'm not sure if the source I downloaded