Blog Archives

How to fix – Exception has been thrown by the target of an invocation – VS2012 VS2010.

Visual Studio 2012

I just installed few tools on my new laptop and at some point Visual Studio 2012 started throwing error “Exception has been thrown by the target of an invocation.“ … After Binging few mins I got some clue what could

Tagged with:
Posted in Visual Studio

Visual Studio – Bing Code Search Addin

Visual Studio 2012

Just came across this very kool Visual Studio Addin. It can search code snippets using Bing right inside your Visual Studio IDE

Tagged with: ,
Posted in Visual Studio

XAML Tips: Why do I get error – Error The name ‘InitializeComponent’ does not exist in the current context

xaml

I am going to list few most annoying Errors XAML designer throws to me and hope you find right solution. Most likely by this time you have already gone though your error list many times and scratching your head.. why

Tagged with: ,
Posted in SilverLight, Tips, Visual Studio, Windows Phone, WPF, XAML

Visual Studio Error: Cannot add link to the file XXX. There is already file of the same name in this folder

ScreenHunter_51 Dec. 23 15.38

Recently I tried to exclude some project items and adding back from other location as “Add as Link” option. But I was keep getting below error. Visual Studio Error: Cannot add link to the file XXX. There is already file

Tagged with:
Posted in Uncategorized, Visual Studio

Quick way to edit and preview XAML Snippets using Kaxaml

XAML Editor Pad

Sometimes you want to learn XAML tips/tricks without creating full page and don’t want to bother with Visual Studio at all then I use simple tool called kaxaml You can Download zip file from here … Or use XAMLPad another

Tagged with: ,
Posted in .net, Tips, XAML

Visual Studio Tips – How to set text edit as default view for XAML file

Default XAML Editor

How many times you felt that XAML designer was too slow for you to handle??? If you using code window most of the time for XAML Editing then you can change default edit action for XAML files as below so

Tagged with: ,
Posted in .net, Tips, Visual Studio, XAML