Intellisense in XAML not working anymore!
Latest Windows SDK breaks IntelliSense in Visual Studio 2008 in XAML files.
How to fix this ?
Réponses
UPDATED: See here for the official workaround to this issue: http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2892404&SiteID=1
Daniel,
I'm so sorry you've had this problem. We’re investigating this issue right now. It was reported by another user this morning. We’re working on understanding what is causing XAML autocomplete to stop working when the SDK is installed. We have been able to repro this issue in our test lab. We’ve been able to fix the issue by running Repair on Visual Studio 2008 (Start, Control Panel, Program and Settings, select Visual Studio 2008, click Change, select Repair).
UPDATE:
How to determine if you are experiencing this issue
(Review the article, Windows registry information for advanced users before using regedit.)
1. Using regedit, look at the key:
· On X86 machines: HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
· On X64 machines: HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
2. If (Default) is empty you are experiencing this issue.
These are the repro steps we’re working with. If you have a different scenario please let me know .
Setup:
1. Vista Ultimate X86 or X64
2. Install VS 2008 Pro
3. Install 338649_ENU_i386_zip.exe hot fix for VS Editor (see http://weblogs.asp.net/scottgu/archive/2008/02/08/vs-2008-web-development-hot-fix-roll-up-available.aspx for more info)
(Machine was fully patched and update via MU day before installing SDK)
4. (Build XAML Project and use autocomplete – works fine)
5. Install Windows SDK for Server 2008 (build .367) default settings
Steps to Repro
1. Open VS2008
2. Create a new Windows, WPF solution.
3. Open the window1.xaml file and edit the XAML.
4. By default a <Grid> </Grid> is the root element.
5. Add a child Button object.
a. After <Grid> press enter to get a new line between the two Grid markup elements.
b. Type < at that point Intellisense autocomplete should open up and give you list of objects. It won’t.
K a r i n M e i e r
Windows SDK | Samples & Community PM
Toutes les réponses
UPDATED: See here for the official workaround to this issue: http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2892404&SiteID=1
Daniel,
I'm so sorry you've had this problem. We’re investigating this issue right now. It was reported by another user this morning. We’re working on understanding what is causing XAML autocomplete to stop working when the SDK is installed. We have been able to repro this issue in our test lab. We’ve been able to fix the issue by running Repair on Visual Studio 2008 (Start, Control Panel, Program and Settings, select Visual Studio 2008, click Change, select Repair).
UPDATE:
How to determine if you are experiencing this issue
(Review the article, Windows registry information for advanced users before using regedit.)
1. Using regedit, look at the key:
· On X86 machines: HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
· On X64 machines: HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
2. If (Default) is empty you are experiencing this issue.
These are the repro steps we’re working with. If you have a different scenario please let me know .
Setup:
1. Vista Ultimate X86 or X64
2. Install VS 2008 Pro
3. Install 338649_ENU_i386_zip.exe hot fix for VS Editor (see http://weblogs.asp.net/scottgu/archive/2008/02/08/vs-2008-web-development-hot-fix-roll-up-available.aspx for more info)
(Machine was fully patched and update via MU day before installing SDK)
4. (Build XAML Project and use autocomplete – works fine)
5. Install Windows SDK for Server 2008 (build .367) default settings
Steps to Repro
1. Open VS2008
2. Create a new Windows, WPF solution.
3. Open the window1.xaml file and edit the XAML.
4. By default a <Grid> </Grid> is the root element.
5. Add a child Button object.
a. After <Grid> press enter to get a new line between the two Grid markup elements.
b. Type < at that point Intellisense autocomplete should open up and give you list of objects. It won’t.
K a r i n M e i e r
Windows SDK | Samples & Community PM
I have same scenario
Daniel, were you able to resolve your issue by running repair on Visual Studio 2008? That has worked in all cases so far. There's also a registry key change fix that was posted on the MSDN forum for WPF Designers:
Solution: Intellisense broken in all WPF Projects after installing SDK/MSDN
We're continuing to troubleshoot this issue with the XAML and Visual Studio teams.
--Karin
yes, I was able to resolve the issue by running VS repair.
Thank you

Great news! Thanks for letting me know!
--Karin
Yes, it's utterly annoying. I've spent a lot of time to reinstall my machine from scratch due to this.
In such cases it looks particularly ridiculous that Office may only be installed 10 times when it comes to the MSDN license.
Best regards,
Henrik Dahl
I've posted the workaround for the problem of XAML Intellisense not working after SDK or MSDN install here: http://forums.microsoft.com/Forums/ShowPost.aspx?PostID=2892404&SiteID=1
Here's the easiest fix:
Register TextMgrP.dll manually
On an X86 machine:
1. Open a Windows CMD window as an Administrator (On Vista: Start, All Programs, Accessories, right-click on command prompt and choose to Run as Administrator)
2. Type: regsvr32 "%CommonProgramFiles%\Microsoft Shared\MSEnv\TextMgrP.dll”
On an X64 machine:
1. Open a Windows CMD window as an Administrator (On Vista: Start, All Programs, Accessories, right-click on command prompt and choose to Run as Administrator)
2. Type: regsvr32 "%CommonProgramFiles(X86)%\Microsoft Shared\MSEnv\TextMgrP.dll”
Restart Visual Studio and Intellisense should be working correctly again.
Wow, this is a MAJOR foul-up. I am utterly suprised that this made it out the door.
Anyway, is it possible that the Windows SDK 6.1 installation also broke the WPF designer in VS2008 in the sense that when you rename a XAML control, it does not rename the control in the .cs file? Or did that never work right?
- The WPF Designer in VS2008 does not currently support the refactoring/rename commands, so this is currently expected. This is something we are working to enable in future updates. Thanks, ~Brett.
Oh, that's good to know. Thanks for the fast response Brett !
Steve
Hi,
I am also facing intellisense issue in VS2008. I have correct reg entry. I still tried to re register the TextMgrP.dll and tried to repair VS2008 but still it is not working for me. Any help would be really helpful. Its really painful to work without intellisense in XAML.Hi
I do have the same problem
I checked the registry (not empty, good path), i registered also the DLL using cmd... Still no XAML Intellisense.
I also "repaired" VS2008. A "few" minutes later : nothing more i still only have !--, CDATA or ? nothing more...
I'm having : .Net 3.5 SP1 (and older), SDK for VS 2008 SP1 tools, SDK for VS 2008 .Net Framework tools, SDK for VS 2008 SDK Reference Assemblies and Intellisense, french language modules, MSDN for 2008, and Windows XP SP3 ...
Any clue ?
Thanks in advance.The funny thing is, I was using XAML intellisense for a while now with no problem, only yesterday it ocured that it stopped working out of the blue... I spend almost all day trying to figure out what is wrong until I bumbed into this post...
I'm doing repair now, and lets hope it will work.
Edit:
Repair worked just great!
Cheers!
- Cheers guys, this helped a lot!
I repaired my VS twice... Intellisence is still broken in XAML...
Any help from microsoft would be appreciated : is it "normal" ? What can we do ? Am I forced to reinstall all my PC ???
Wonderliza, you are not having the problem described in this thread. You mentioned that the path is not empty on your machine.
How to determine if you are experiencing this issue
(Review the article, Windows registry information for advanced users before using regedit.)
1. Using regedit, look at the key:
· On X86 machines: HKEY_CLASSES_ROOT\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
· On X64 machines: HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{73B7DC00-F498-4ABD-AB79-D07AFD52F395}\InProcServer32
2. If (Default) is empty you are experiencing this issue.
--Karin
||Karin Meier||Windows SDK PM||Build Environment.Samples.Community ||http://blogs.msdn.com/KarinM||
Karin,
I had read and noticed that on my case, i do not have exactly the same repro, but the result is the same : no intellisense, so to avoid a double post, i used the same thread. Does it means that i won't get help only because of that ? It seems quite choking...
So does it means that because i do have a path not empty, there is no solution ?
- i have this same problem. I've tried these proposed solutions and still have no joy. any other ideas? I have the same software installed on my desktop, which does work, that I have on my laptop, which doesn't work.
- I have the same problem. One day it just stopped working, I've tried reparing and that does not work.
- Hey Karin,
I tired this and my bad luck , Now I am getting other wierd Error, Now I cant even compile my programm. following is the error. Can you please help me.
Error 1 The "Microsoft.WebApplication.Build.Tasks.GetSilverlightItemsFromProperty" task could not be loaded from the assembly C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.Build.Tasks.dll. Could not load file or assembly 'file:///C:\Program Files\MSBuild\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.Build.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available. SilverlightApplication6.Web
Can you please help me.
my email id is rupeshmehta.1983@gmail.com - i have gone through all the above steps and i continue to have the problem as well. everything looks good.
- i went through the steps above and still have the same issue. nothing i have metioned here or that i found has fixed the issue. however, i have noticed that if I go to Tools > Options > Text Editor > XAML > Miscellaneous, i get the message "An error occurred loading this property page"
just as i post out of desperation, i find what helped.
http://silverlight.net/forums/t/110650.aspx - post from Jonathan Shen - MSFT - 07-21-2009
from the command line: devenv.exe /ResetSkipPkgs
works now. hope this helps others!

