How to get the total number of line code in Git repository?
Hello,I am working to get the Github metrics. One of the metrics we want to get is how many line of code changed within a date range. Looking at the online doc:...
View ArticleFind in Files in VS2012
Nothing shows in the results window 1 or 2 when I use the Find in Files functionality, it works OK in VS2010 that I have installed on the same machine.
View ArticleHow get nested vc enum class code element's container vc class code element
Recently, I was working on my visual studio package using VCCodeModel for automation. However, I want to get a nested vc enum class's container vc class, but I found that the VCCodeEnum's parent is a...
View ArticleTraversing all EnvDTE.CodeElement objects in the global/local scope
Is it possible to traverse all the CodeElement objects in a given source file? My real target is to be able to find out what is the type of a variable in the cursor position from a Visual Studio...
View ArticleVisual Studio shows unexpected error while trying to open custom project...
Hello,currently im trying to add a project property page to my package (MPF VS2010) following the creating basic project system walkthrough. While trying to open this page i get an "Unexpected Error...
View ArticleChanging the Debug Source File property of a solution using visual studio...
Hi,Here is our situation:We have multiple versions of our application and each version is stored in a different network path. When we want to work on our application and modify some code we only take a...
View ArticleStrange warning when compiling a vsct file
Hi,I'm trying to get rid of the VSSDK1011 warning: *.cto has no Resource.Do you have any idea how to fix this?Thanks!-MartinMSBUILD LOG ------Build started 2/25/2014 4:01:01 PM. Processing resource...
View ArticleDefault VSPackage template in VS2013 SDK Throws Exception when exiting
Hi,I have VS2013 Ultimate w/ VS2013 SDK, and have created a new C# VSPackage using Templates, Visual C#, Extensibility, .NET Framework 4.5, Visual Studio Package.When I hit "Start Debugging" and run in...
View ArticleSingle Key Binding for VSPackage
Hi,how do we bind a single key like F1, F2 etc.. for a VSPackage. its working fine with a mod1 like Alt+F1.<KeyBinding guid="guidVSPackage_ABSuiteCmdSet3" id="cmdidMyCommand3" key1="VK_F1"...
View Articlehow to get IVsColorThemeService in VS2012/2013
Hi, I need to access CurrentTheme.ThemeId of IVsColorThemeService in VS. Although it is delared as "public" inMicrosoft.VisualStudio.Shell.12.0.dll, it seems that I could not use the types. I defined...
View ArticleExecuting External Tool does not flush modified files
Executing External Tool does not write modified files. Therefore, if External Tool is written to process a specifiec file, one has to manually save it (or all files) in order for External Tool to be...
View Articleunable to cast from CodeModel to Microsoft.VisualStudio.VCCodeModel
I'm trying to run the following code(to discover all variable names in a vc++ project): VCCodeModel model = _applicationObject.Solution.Item(1).CodeModel as VCCodeModel; foreach (VCCodeVariable elem in...
View ArticleCatching button click event in VS addin
I am trying to catch the Load test run button click event in an Addin I'm writing for vs2010 I've tried a couple of approaches in the OnConnection event var evt =...
View ArticleHow to Install/UnInstall Visual studio extension using PowerShell
Hi all.I try to install / uninstall visual studio extension use PowerShell scriptBut I just can find the Install like: start-process $visualextendsionpath.I can't not find the way to uninstall the...
View ArticleNew web site about Visual Studio Extensibility (VSX):...
The host of my old blog (http://msmvps.com/blogs/carlosq/) died and I have archived the redirected one (http://blogs.msmvps.com/carlosq/).I have purchased the domain www.visualstudioextensibility.com...
View ArticleCreating Project
How can I add existing files in a project (WPF/XAML Code)by writing code or programmatically on button's click event,not mannualy.
View ArticleUpdating threads name from VS 2013 Threads window (after a breakpoint is hit?)
Hi all,as we already know, the RaiseException approach is generally used for setting the thread name inside the VS IDE Threads window.This works fine for the case when the number of thread name changes...
View ArticleDebug: How to instanciate default native IDebugSymbolProvider
Hi,I want to stub the native IDebugSymbolProvider, because at runtime we inject new native assembly code into our process and want to debug it, and we need to continue debug standard c++ code. The...
View ArticleHow to detect when the Visual Studio Debugger detects a breakpoint
Hi, We are using the Microsoft Application Verifier tool on our application while it is running an automated test of the user interface. When the Application Verifier detects a problem, Visual Studio...
View ArticleUnexpected pUpgradeRequired value returned for a VS 2010 solution with...
A VSIP package built using VS2005 SDK and VS2010 compiler, returns pUpgradeRequired as true when UpgradeProject_CheckOnly method is invoked for a solution file, including a website and a C# project in...
View Article