How to deploy an extension to an isolated shell app for debugging.
Hi all,I have a product based on VS2013 isolated shell. I'm developing an extension and I would like to debug it inside the shell.When debugging an extension inside Visual Studio, I would set in the...
View ArticleAddFunction generates a function with return type when passed...
When using the VCFileCodeModel or the FileCodeModel interface to create a constructor by passing vsCMFunction.vsCMFunctionConstructor as the functionkind for the AddFunction function, the constructor...
View ArticleVS2008 Macro: How to open the same document in two windows and select...
Hi,I try to write a VS2008 macro that, for an open solution, opens one source file twice and selects different lines in the two windows for me to compare the code snippets. (I do so to inspect...
View ArticleToolBar Button Only Works When ProjectItem Selected.
The title says it allSome of my buttons on my toolbar only work when a project item is selected. This is not really desirable behavior. Anyone know why this might happen or not happen?
View ArticlePath of "Add New Project" dialog strange behavior
I'm experiencing a strange behavior with the "Add New Project" dialog in a Visual Studio Shell Customization.My solution can have two kinds of projects, lets call it A and B.I fire up the Shell, then...
View ArticleCustom Debug Engine - Loss of context
Hi,I'm working on a project that is implementing a custom debug engine in Visual Studio. So far the DE/VS package/EE are built, installed and running correctly except for a few peculiar issues. They...
View ArticleFinding the startup project in a complicated solution
I need to navigate through a solution and find a startup project, but I'm having a lot of difficulty if there are embedded folders. Consider this example (I am hoping my indentation stays...
View ArticleVSCommands License activation issue for MSVS 2013
Hi, I am facing license activation issue for VSCommands(12.3.0.3) for Microsoft Visual Studio 2013. Issue : For activating VSCommands, i need to browse license file. After browsing file, i need to...
View ArticleVSPackage Memory Window
Hi,Is there an API to access the "Memory Window"(Debug > Windows > Memory > Memory 1)and repurposing it/programatically feed it with an input memory address and input target process?The...
View ArticleVSPackage catch onMouseClick Enevts
Hello,I'm building a vspackage that create a file and add it to the current solution. i would like to register to the oRightMouseClick event so if the click was in the generated file i will pop new set...
View ArticleAdd-in: Determine if File Name Represents a Visual C++ Project
Hi,I'm working on developing an C# based, VS2012 add-in that, among other things, can add Visual C++ Projects to the currently opened Solution. Ideally, given a path to a file on disk, the add-in...
View ArticleRead text in TextRange
Assuming I have a valid TextRange, how it's possible to get its "text content"?
View ArticleAssociate another file extension with Visual Studio
Hi,I have a weird requirement.Is it possible to associate another file extension with VS for C# code files (other than .cs)? Basically, I wanted to create file with my own extension, (.xyz), but wanted...
View Articlehow can i capture file open event in VSPackage?
I tried this:dte = (DTE)GetGlobalService(typeof(DTE)); dte.Events.DocumentEvents.DocumentOpening += DocumentEvents_DocumentOpening;in Initialize() method of VSPackage.But it doesn't work when a...
View ArticleVisual Studio extension caching preventing extensions from loading
Hi -I'm the developer of a VS extension that performs automated testing (www.ncrunch.net). Since the VS2012 release, I've had some users reporting issues related to the extension not being loaded by...
View ArticleVisual Studio Shell Isolated 2013 disable Notifications functionality
Hello.We have custom application made in VS2010 Shell Isolated. I have successfully make migration to VS2013 Shell Isolated.We have need to disable some new features of VS2013. Most of them I already...
View ArticlePowerpacks version 9.0.0.0 versus version 10.0.0.0
I have some projects written in visualbasic 2008 and converted to 2010 They still reference a Microsoft.visualBasic.PowerPacks.Vs.dll version 9.0.0.0 New projects reference a .dll version 10.0.0.0...
View ArticleHow to create a Visual C++ project using VCProjectEngine starting with Visual...
So, the question is already in the title, but let me detail it a bit more, because I suspect that I will get pointers to malfunctioning "options" (of which I have tried loads) otherwise. In the past it...
View ArticleVSPackage add a file
I would like to add a file to the current open solution, but not just a file but a certain file that i have in my vspackage.to be more accurate, after the user click a button on my VSpackage toolWindow...
View ArticleVisualize variable length structure?
Hi, any ideas how to write a natvis for a variable length structure? We have the following setup: struct Foo { u32 mask; // each bit set corresponds to a void* /* void* data[ bitcount(mask) ]; */ };...
View Article