.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

XAML Intellisense not working

Posted By:      Posted Date: September 23, 2010    Points: 0   Category :WPF

Hello everyone, I am using VSTS2008 SP1, and after resetting my user profile settings of VSTS, Intellisense on my XAML page stopped working. And I'm not sure if this issue is related, I am also getting this error message every time I try to paste something onto the XAML page.

"Value cannot be null. Parameter name: name" with no additional details available provided

View Complete Post

More Related Resource Links

VS2010 XAML namespace intellisense not working

When I type in a namespace in XAML, I'm not getting any intellisense. For example: xmlns:local="" In VS2008 I would get a long intellisense list here. In VS2010 I get nothing. I have tried this on 2 different computers. What am I missing?

XAML intellisense stopped working for project

We are working on a WPF-based application and have recently lost XAML intellisense on the project. Here's what we've discovered:

  1. XAML intellisense only fails to work in XAML files where we reference a CLR namespace inside the current assembly (using xmlns:s="clr-namespace=Namespace.Name"). 
  2. If we clean the solution, XAML intellisense works for all XAML files no matter what namespace is referenced - even for custom controls
  3. If we then rebuild the solution, intellisense stops working again 
  4. If after building we add an assembly reference pointing to the current assembly to the namespace references (using xmlns:s="clr-namespace=Namespace.Name;assembly=CurrentAssemblyName"), intellisense works again, but building fails (I'm assuming because we're trying to reference an assembly that hasn't been built yet)

Has anyone experienced anything like this before?

Disable XAML Intellisense in Macro (VS2010 IDE)

I'm writing a few macros to insert XAML code I often use into the VS2010 XAML editor. This works OK, but Intellisense is interpreting the code as it's being inserted. This causes syntax errors. Here's an example of the inserted code: <Grid> <Grid.RowDefinitions> <RowDefinition></RowDefinition> </Grid.RowDefinitions> <Grid.ColumnDefinitions> <ColumnDefinition></ColumnDefinition> </Grid.ColumnDefinitions> </Grid> The inserted code is a bit more complex as it includes properties I commonly use, but this will help illustrate the problem.When the code is inserted, Intellisense completes the definitions. For example, after <Grid> is inserted, Intellisense adds a corresponding </Grid>, which makes the code syntatically incorrect.How can I automatically disable Intellisense before the code is inserted and enable it after (within the macro)? After the code is inserted, I'd like to automatically reformat it.Thanks!

Katmai SSMS - Intellisense stopped working

HiI was wondering if anyone has had a similar problem. I have been happily using the Intellisense features of Katmai without any problems for a month now. However, a couple of days ago, it stopped working. I have tried numerous things to revive it including deleting everything under: -%appdata%\Microsoft\Microsoft SQL Server%userprofile%\Local Settings\Application Data\Microsoft\Microsoft SQL ServerHKCU\Software\Microsoft\Microsoft SQL Serverand restarting SMSS but I had no success. Tbh, I am not even sure where Intellisense cache is kept?Anyone have any suggestions?Thanks in advance.Blair

SQL Server 2008 R2 IntelliSense not working


I am running SQL Server 2008 R2 (version info below) and IntelliSense is not working.  I am connected to a SQL Server 2008 Edition database.

IntelliSense is enabled, SQLCMD mode is turned off.  I refreshed the local cache.  I am accessing simple table objects for which I have access rights.  All of the usual suspects are covered and still I have no IntelliSense functionality. 

Any ideas?

Microsoft SQL Server Management Studio                        10.50.1600.1
Microsoft Analysis Services Client Tools                        10.50.1600.1
Microsoft Data Access Components (MDAC)                        6.1.7600.16385
Microsoft MSXML                        3.0 5.0 6.0
Microsoft Internet Explorer                        8.0.7600.16385
Microsoft .NET Framework                    &

VS2008 SP1 + WPF XAML editor breaks IntelliSense (Bug)


The scenario is:
1) open just 3 primitive template based XAML files in XAML editor (without showing WPF designer even)
2) close two of opened xaml files
3) Check intelliSense - it wouldn't work untill you restart VS.

If you open 2 XAML files - it works fine, but 3 -XAML - is enought for VS2008SP1 to fall down.

My XAMLs are following:

<UserControl x:Class="AutoTrader.Quotes.CellLotsTemplateControl" 

Intellisense / class reference not working in MembershipProvider derived class file in App_Code fold



I am new to ASP.NET and may be biting off more than I can chew, but I figure if I jump in the deep end I may learn more.

Can somebody tell me why the Visual Studio intellisense is not working in a newly created class file inside the App_Code folder?

I presume that System.Web is not being referenced from the App_Code folder correctly for some reason, because as soon as I type "using System.Web", everything is fine and then stops when I want to add ".Security" (no dropdown). I think this has an influence on the fact that the inherited MembershipProvider in my code is not highlighted/referenced and I cannot use the "Implement Abstract Class" option.

If I create a new class file in the root folder of my website, everything works fine. I have even tried to delete and recreate the file in my App_Code and it still did not work. I also tried to copy the file from my App_Code folder to the root and it still did not work. My code is as follows:


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;

namespace PodcastManager
    public class

intellisense .xaml visual studio 2008


hi all,

I've just installed Silverlight toolkit for VS 2008. after some difficulties, it works fine no.

But i got a problem concerning editing .xaml files. actually Intellisense (complete word function) doesn't work inside tags.

I don't know how to fix it.


I've already cheked the Registry keys as it's adviced in forums as solution, but they are ok


please help it's urgent

Please help

Intellisense not working for assembly registered in global web.config


I made a custom server control library that all of our websites will be using. I have registered the dll in the global web.config of our production and development servers, and everything builds and runs fine. The only problem I have is Visual Studio/Intellisense not recognizing my control. I get the error message "Unknown server tag...", which in turn throws other validation warnings. Does anyone know how to tell Visual Studio to include dll's registered in this location?

Our sites are .net 4.0 and below is an excerpt from the web.config located in %SystemDrive%\Windows\Microsoft.NET\Framework\v4.0.30319\Config on the servers.



    <add assembly="[assembly info]" tagPrefix="irnrControls" namespace="IRNR.Controls"/>



It's not that big of a deal right now as I only have one control in the dll, but I would like to fix this before I add more controls. Thanks in advance.

XAML intellisence not working for one VS2010 project in Solution


I've got a WPF solution with 5 projects in it. For some reason...the XAML intellisense quit working and it's driving me nuts. All other intellisense is working just fine (C# for code behinds). I am "not" using any network shares as I saw on other forum posts that this might be the problem. Again...this solution was working fine before. Problem exists where ever I take it XP, W7....Please help!!!


Paul Reed

Intellisense not working for nested master page


I am using Visual Studio 2008 SP1

I have two master pages:  TopLevelMaster and NestedMaster

When my page points to NestedMaster as it's master page, intellisense quits working in the .aspx page.

If I change my page to use TopLevelMaster as it's master page, intellisense works.

No matter what I use as the master I always get a green squiggly underline under the Content control that brings up a tooltip that says "Could not find ContentPlaceHolder1" in the current master page or pages"

TopLevelMaster exists in a different project than NestedMaster and the page.

When I say "intellisense quits working" here is what happens:  
If I type something between the Content tags I get no intellisense for asp controls:
<asp:Content ID="Content1" runat="server" etc.., etc..>
    Only html controls appear upon typing an open angle bracket here

If I instert a div element I can type an opening angle bracket and I see a list of all asp controls.  If I choose one and start typing there is no intellisense after that:
<asp:Content ID="Content1" runat="server" etc.., etc..>

Intellisense not working SQL Server 2008 R2


A swiggly red line shows up, but I cannot get the list members e.g table.____  does not show the list of fields to that table. The intellisense is enabled , I did a refresh for the local cache but this has not helped at all.Is there anything else that I can do to make this work???

Databinding a Listbox from XAML not working



I'm trying to bind a Listbox to data.  I am able to do it in the code-behind.  However, I would rather do it in the XAML,  but I can't seem to get it working.

In my code-behind it looks like this:

 Binding myNewBindDef = new Binding("SettingItems");
 myNewBindDef.Mode = BindingMode.OneWay;
 myNewBindDef.Source = manager;
 BindingOperations.SetBinding(AvailableSettings, ListBox.ItemsSourceProperty, myNewBindDef);

That works fine....the manager object has a "SettingItems" property  which is an observable collection.

When I try to do the same in the XAML

<ListBox Name="AvailableSettings" Width="150" ItemsSource="{Binding Source=Manager, Path=SettingItems, Mode=OneWay}" ...etc>

This doesn't work...Any ideas of what I am doing wrong?


Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

Working with DropDownList and ListBox Controls in ASP.NET

"In my application i am using dropdownlist to display all categories from a table. When the user clicks this control I display all records in that category. Category table also contains column called color.

I wanted display some categories in dropdown list different color and others in different color using ASP.NET."-Anonymous

What's new in XAML of .NET 4.0

With .NET 4.0 Microsoft will bring up a improved version of XAML. This arcitle shows you the language enhancements they made.
Easy Object References with {x:Reference}

Built-in Types

Generics in XAML with x:TypeArguments

Support for Arbitrary Dictionary Keys

Use of Non-Default Constructors with x:Arguments

Use of Static Factory Methods with x:FactoryMethod

no intellisense, smart tag, extender wizard etc


Development Environment:  VS 2008 Pro, IIS 6, asp.net 2.x, sql 2005 server

Installed the version of AJAX Toolkit and Library for the .net 2.0 compatibility (as IIS is still using 2.x)

The problem is as that within the vs 2008 pro, when I select for example a button control...there should be an additional pop-up intellisense indicating...add extender.

to compound this, within the extender control ... the TargetControlID -- should be a drop-down list, indicating which controls are compatible with the extender ... there is no drop-down list.

even if I manually type the control to associate the extender with, this has no effect on the control (such as textbox control) -- as there should be another option appear indicating the association has taken place).

 below is the steps to take (as written by MS) -- but this is what I am not getting:

"If the Button Tasks shortcut menu does not appear, right-click the Button control and then click Show Smart Tag."  -- the smart tag is not appearing

To add an AJAX extender control
Switch to Design view.

If the page does not already contain a ScriptManager control, from the AJAX Extensions tab of the Toolbox, drag one onto the page.

A ScriptManager c

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend