Visual Studio Development Bookmark and Share   
 index > Visual Studio WPF Designer > Problem with WPF
 

Problem with WPF

I installed VB2008 Express using the CD in the book,"Build A Program Now Visual Basic 2008 Express Edition" and everything worked fine until I got to the chapter on WPF. I start a new WPF application, but there is no design surface visible, and when I right-click on the Window1.xaml form in the Solution Explorer and select "View Designer", I get the following error: "There is no editor available for ':\Documents and Settings\Bob\My Documents\Visual Studio 2008\Projects\MyOwnWpfBrowser\MyOwnWpfBrowser\Window1.xaml'. Make sure the application for the file type (.xaml) is installed". Can't see where I have done anything wrong and the install off of the CD from the book went off with no problems. Any ideas?
BobRI  Tuesday, February 24, 2009 3:02 AM

It's gotten worse. I read here that I needed to be current on all of the SP1 releases, so I downloaded and installedVisual Studio 2008 SP1, and downloaded and installed (I think) a completely new version of VB 2008 Express. I wasn't sure if the Visual Studio SP1 upgrade applied to Visual Studio Express, but I figuered it couldn't hurt. I was wrong.

Now, when I open VB 2008 Express and go to Add New Project, the "WPF Application" icon is no longer present. So now instead of not being able to get to the designer window in a WPF application, now I cannot open one at all.

Can anyone help? Am I in the wrong place to ask such a question?

Can someone tell me where to go or what to look for to determine whether or not I have the proper versions of these things installed? There does not seem to be a clear description of whether or not "SP1" is installed for each piece, and just which pieces need to be in sync?

Visual Studio 2008 tells me that i have Version 9.0.307291SP, and Microsoft .Net Framework Version 3.5 SP1.

Visual Basic 2008 Express Edition used to say it was 9108-152-0000043-60471. Now it says it is 9108-152-0000043-60803, and there are eight "Hotfix for Microsoft Visual Basic 2008 Express Edition with SP1 - ENU(KBxxxxxx) entries in its About... window

Visual C# Express Edition tells me it is 91910-152-0000061-60984 with the same type of SP1 Hotfixes listed beneath this number.

I will keep poking around trying to figure out what to do, but it's a shame that such great products seem to have trouble playing with each other.

BobRI  Friday, February 27, 2009 11:52 PM

Problem solved!

Don't know exactly what did it, but here's what I did:
Went to Microsoft Update and brought down all of the updates it wanted to give me, although there were none that had anything to do with VB, VS, .NET, or any other thing that looked related.
Then I did "vbxpress.exe /resetskippkgs" from Run..

And my problem went away. I now can get to the designer pane in VBEx.

So, I am happy again. Just thought someone might be lookingat this and would like to know.

BobRI  Saturday, February 28, 2009 1:53 AM

You can use google to search for other answers

Custom Search

More Threads

• VS2008 Beta 2 WPF Designer Containers
• Expression Blend animations - integrating into current VStudio 2008 SP1 website
• ModelItemCollection.Move bug?
• WPF Window Namespace
• Get EditingContext on InitializeDefaults
• Add usercontol in wpf application in runtime
• vs2008 designer won't show expression blend 2 controlers
• WPF Textbox lost focus fires before command button (.net 3.5 SP1 VS 2008)
• WCF.....ADO.net data service....
• imlementing a map in a WPF desktop application