Visual Studio Addin - OnConnection not called
I moved my VS addin to TFS and did a get latest on another machine. On the other machine the OnConnection method isn't called. I noticed also the source wasn't loaded when I tried adding a breakpoint....
View ArticleTypeLoadException ?
I create vspackage editor and add reference to other controls project. It is works fine, until I add a new control inherited from System.Windows.Forms.Panel and consumed it in vsp-editor then now it...
View ArticleError when Uploading VSIX file to VS Gallery
Hi,When i try to upload VSIX file to VS Gallery, I got the following errors.If you see this page, it is because an error occurred in the system while trying to process your request. We apologize for...
View ArticleHow to get iPhone device tokens within a specific radius -
Hello,I am working on Push Notification services from my ASP.NET MVC2 application.I am sending Push Notifications to the registered devices of my application.And for that i am registering iPhone device...
View ArticleLoad third assembly with its referenced assemblies dynamically in Visual...
I am creating a visual studio add-in.In plug-in i am loading third assembly and then iterate its types, properties, etc.I am loading assembly using Assembly.Load(File.ReadAllBytes(assemblyPath));Now...
View ArticleVSIX project fails on TFS build machine
The project that constructs our VS extension installer (VSIX) fails on a TFS build machineThe "ValidateVsixManifest" task failed unexpectedly. System.TypeInitializationException: The type initializer...
View ArticleWhen does Package.Initialize occurs?
Hi,I tried to made a menu of my own in the IDE with the help of VSPackage tutorials.Here is the menu hierarchy I would like to achieve:1. Top menu1.1 Sub Menu 11.1.1 Dynamically Command 1...1.1.N...
View ArticleCatching keyboard input
In my extension I'd like to catch keyboard events (shift button down and up). Is keyboard hook the only possible solution. Do VS extension have a better way to access the keyboard input?Thanks!
View Article"Goto Definition" opens new tab for already opened tab
Hi everyone,In my languageservice one can use the "goto definition/declaration" feature by pressing [F12]. In that case, the "Goto()" method of the corresponding AuthoringScope is called as expected....
View ArticleAccess denied while trying to a load a Microsoft.Build.Evaluation.Project
Hi,I'm trying to load a project using the following code:Microsoft.Build.Evaluation.Project project = ProjectCollection.GlobalProjectCollection.LoadProject(path);But I get the following...
View ArticleVSIX Building multi-project templates
I have a VSIX that is being distributed internally that provides some custom extensions, toolbox controls and project templates. The project templates are setup pretty much following the directions in...
View ArticlePersist MSBuild properties into poperty group for project subtype
Hi,I've been playing with the CSVSXProjectSubType sample from the MSDN samples gallery.It works of course great, but I'd like to be able to persist build-related properties from the added project...
View Articlei have some C files with make file, can i convert this as a visual studio...
create visual studio project from the makefile.sunil45
View ArticleHow to control the Method node' displayName in classView?
For example, if I have a C# file in the solution explorer and I click on the file node's name, the name becomes editable. And when I finish editing the name, the file is automatically renamed. In...
View ArticleWhere's the downloaded samples
In VS2012, I have downloaded samples from 'Extensions and Updates' under 'Tools' menu. But where's the downloaded samples? How could I open them?Fighting like Allen Iverson, never never give up!
View ArticleAdd sourcesafe items using appwizard
Is there a way to get a custom appwizard to add existing common source files from a sourcesafe database to the newly created project? I am using VS2008 and VSS2005.
View Article"Add as link" in custom project
I've created a custom project type using a VSPackage. When using the Add Existing Item option in my custom project, the Add button doesn't have the splitter on it with the "Add" and "Add as Link"...
View ArticleProcess created in LaunchSuspended immediately Terminated
Hello,I am writing a custom Debug Engine to debug on a remote device in VS2010 Ultimate on Windows 7.I have a class which implements the IDebugEngine2 and IDebugEngineLaunch2 interfaces. I am able to...
View ArticleHKLM VS HKCU
I am in the process of reviewing our VS2008 Isolated shell based application installation for various OS like XP, Vista, Win7 and for 32 and 64 bit sytems. we use installshield 2008 . One of the thing...
View ArticleUse a usercontrol in VSPackage
I'm just learning VSPackage making and already come across a problem.I noticed that the toolwindow display is an xaml control but is it possible to use a normal winforms type UserControl as the...
View Article