locked
VS 2005 XAML IntelliSense RRS feed

  • Question

  •  

    Hello,

    I have installed everything I can find on .Net 3 including the extensions. I am currently having issues with the XAML Intellisense not working. Not only will it not pick up my own project references eg xmlns:custom="clr-namespace:SDKSample;assembly=SDKSampleLibrary"

    <custom: does not work. But also when I try to tap into TextBox.Text for the <Binding> It does not recognise it.

    Have I missed something to install?

    Thanks,

    Brett.

    Wednesday, December 20, 2006 12:24 AM

Answers

  • Hello,

    I've just found out what was wrong with Intellisense.
    I did right click on a XAML sample and chose Properties... to bring forth the XAML properties window. Then, on the "Schema" item, I saw (I don't understand how it had become as it was) that no schema were given.
    I clicked on the button on the right to try and  set Xaml2006.xsd (http://schemas.microsoft.com/winfx/2006/xaml) and XamlPResentation2006.xsd (http://schemas.microsoft.com/winfx/2006/xaml/presentation), but they were nowhere in the list. I had to click "Add" button and fetch the files in C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas.

    Now it works, but I still don't understand why it was all upset.
    Tuesday, January 16, 2007 3:08 PM

All replies

  • Have you installed "Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP"?  There are two different extension for .NET 3.0.  The one above which focus on WCF & WPF technologies and one that focuses on WWF.
    Wednesday, January 10, 2007 9:15 PM
  • The IntelliSense in the extensions for Visual Studio 2005 are based on the XAML Schema, which only supports the most basic WPF types.

    The XAML Language Service in Visual Studio "Orcas" won't be Schema-based and therefore will support much more sophisticated scenarios.

    Friday, January 12, 2007 10:29 PM
  • Hello!

    I had Intellisense work with XAML editing at the beginning of a project.
    But suddenly, it would not work any longer (with WPF base types, actually).
    I also use custom controls, but I knew Intellisense would not work with them.

    Any idea on how to fix this? Thank you for your help.

    O.

    EDIT: to be more specific, it was working fine, and one day, as I opened the Solution to edit it, Intellisense was gone for XAML editing.
    Monday, January 15, 2007 2:03 PM
  • Hello,

    I've just found out what was wrong with Intellisense.
    I did right click on a XAML sample and chose Properties... to bring forth the XAML properties window. Then, on the "Schema" item, I saw (I don't understand how it had become as it was) that no schema were given.
    I clicked on the button on the right to try and  set Xaml2006.xsd (http://schemas.microsoft.com/winfx/2006/xaml) and XamlPResentation2006.xsd (http://schemas.microsoft.com/winfx/2006/xaml/presentation), but they were nowhere in the list. I had to click "Add" button and fetch the files in C:\Program Files\Microsoft Visual Studio 8\Xml\Schemas.

    Now it works, but I still don't understand why it was all upset.
    Tuesday, January 16, 2007 3:08 PM
  • Glad I found this posting - I've just had exactly the same thing happen. Yesterday Intellisense was fine in the XAML and today it just stopped working. I opened a new XAML project where Intellisense did work and just copied and pasted the schemas into the non-working project. That now has Intellisense working again. If anyone can explain why my "Getting Started Panel" at the start of VS2005 has only SQL content and on another machine has C# information then I'll be a very happy (old) man !
    Friday, February 2, 2007 11:00 AM
  • My intellisense disappeared also, however my schema reference was still there.  It just lost the double quotes around it.  I added the double quotes, and it started working fine.  Weird huh.
    Monday, February 5, 2007 6:44 PM
  • Try this: Go to Tools->Options->Environment->Startup and set the Start page news channel link to:

    http://go.microsoft.com/fwlink/?linkid=45192&clcid=409

    Friday, February 16, 2007 9:50 PM
  • Your research made my life easy. Thanks for your fix!
    Wednesday, February 28, 2007 6:58 PM
  • WOOOT !!! Had the same problem... and all my registries were correct... :-/
    So I did a few days worth of research, and finally solved my problem by doing the following:

    1. Installed en_visual_studio_2008_service_pack_1_x86_x64wow_dvd_x15-12962.iso (Don't think that was totally required ^_^)
    2. Go Start->All Programs->Microsoft Visual Studio 2008->Visual Studio Tools->Visual Studio 2008 x64 Win64 Command Prompt
    3. Type in "devenv /resetskippkgs"

    And that's it ... done !
    Wednesday, October 15, 2008 2:18 PM