Microsoft Developer Network > Página Inicial dos Fóruns > Windows SDK > Intellisense in XAML not working anymore!
Fazer uma PerguntaFazer uma Pergunta
 

RespondidoIntellisense in XAML not working anymore!

Respostas

  • sexta-feira, 15 de fevereiro de 2008 8:49Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido

    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

    http://blogs.msdn.com/KarinM

     

     

     

Todas as Respostas

  • sexta-feira, 15 de fevereiro de 2008 8:49Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     Respondido

    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

    http://blogs.msdn.com/KarinM

     

     

     

  • sexta-feira, 15 de fevereiro de 2008 18:34Daniel Danilin Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    I have same scenario

  • sábado, 16 de fevereiro de 2008 8:05Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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

  • segunda-feira, 18 de fevereiro de 2008 10:42Daniel Danilin Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    yes, I was able to resolve the issue by running VS repair.

    Thank you Smile

     

  • segunda-feira, 18 de fevereiro de 2008 15:55Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    Great news!  Thanks for letting me know!

      

    --Karin

     

  • segunda-feira, 18 de fevereiro de 2008 23:05Henrik Dahl Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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

     

  • domingo, 2 de março de 2008 6:37Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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.

     

  • quinta-feira, 20 de março de 2008 19:38scbraddy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

     

    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?

     

     

     

     

     

  • quinta-feira, 20 de março de 2008 19:54Brett Kilty [MSFT] Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.
  • quinta-feira, 20 de março de 2008 20:42scbraddy Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

     

     

    Oh, that's good to know. Thanks for the fast response Brett !

     

    Steve

  • quinta-feira, 25 de setembro de 2008 14:21Shakil M S Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

     

    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.
  • terça-feira, 7 de outubro de 2008 12:53wonderliza Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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.

     

     

     

  • quinta-feira, 9 de outubro de 2008 10:18WAR-DOG Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

     

    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!

  • terça-feira, 28 de outubro de 2008 4:00Tiago Trentini Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    Cheers guys, this helped a lot!
  • quarta-feira, 29 de outubro de 2008 14:45wonderliza Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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 ???

     

     

  • quarta-feira, 29 de outubro de 2008 16:46Karin MeierMSFT, ProprietárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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||

     

  • quarta-feira, 29 de outubro de 2008 16:54wonderliza Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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 ?

     

  • terça-feira, 4 de novembro de 2008 20:53closl Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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.

     

  • terça-feira, 9 de dezembro de 2008 19:30patrickdbarker Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    I have the same problem.  One day it just stopped working, I've tried reparing and that does not work. 
  • quarta-feira, 22 de julho de 2009 16:05rupesh mehta Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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
  • quinta-feira, 30 de julho de 2009 18:06mdkangas Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    i have gone through all the above steps and i continue to have the problem as well. everything looks good.
  • quinta-feira, 30 de julho de 2009 18:27mdkangas Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    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"
  • quinta-feira, 30 de julho de 2009 18:31mdkangas Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     

    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!