The World’s Leading Microsoft .NET Magazine
   
 
The .NET Addict's Blog

My Top Tags

                                                           

My RSS Feeds








I heart FeedBurner

Latest Diggs - Programming

Computers Blogs - Blog Top Sites

Site Hits

Total: 4,895,612
since: 19 Jan 2005

Visual Studio 2008 Service Pack 1 == Inability to Code. AT ALL.

posted Fri 22 Aug 08

I'll keep this blog post short and sweet because the more I think about it the more I get close to the verge of exploding.

Here's my situation: I had Visual Studio 2008 Professional installed. From scratch, clean install. Everything works great, all is good in the Microsoft world of .NET. Yay me!

Now, I have a particular need to compile and run code that will only work on .NET 3.5 SP1 so I install Visual Studio 2008 Service Pack 1... and it completely and totally prevents me from building any WPF application. I can create a brand new WPF application with File->New and immediately hit Build and I will see the same failures.

It complains about 'SplashScreen' and then complains about failures in 'MarkupCompilePass1' task. 

So I completely uninstall Visual Studio 2008 and the Service Pack 1 artifacts. Great. All is good, right? NOPE. I re-install VS 2008, then re-install the service pack and I get the EXACT. SAME. PROBLEM.

So what's my status: I need to write WPF code and the service pack itself has barred me from building WPF applications. 

What in the [CENSORED] is Microsoft thinking?!?! I've found some forum posts on Microsoft Connect that confirm that I am not the only person with this problem.

If you have encountered this problem and have managed to fix it without doing a complete re-wipe of your OS (I need an on-the-hardware install of VS, what I'm doing can't be done inside a VM), PLEASE let me know the solution.

tags:            

links: digg this    del.icio.us    technorati    reddit

AddThis Social Bookmark Button




1. Rob left...
Fri 22 Aug 08 12:32 pm :: http://www.bluespire.com/blogs

I haven't had this particular problem. However, SP1 did render my client's entire product unrunnable under IIS7. It also broke a few DataTemplate scoping scenarios in part of the product we were building for them. SP1 has some cool features, but there are some catastrophic bugs - probably more than I have seen in any .NET release yet.


2. Kevin Hoffman left...
Fri 22 Aug 08 12:47 pm

I can't remember the last time I installed an _RTM_ .NET release of any kind that was this destructive, and remember I've been installing .NET RTM's since 2001.


3. James Gregurich left...
Fri 22 Aug 08 12:59 pm

I haven't had any problems with it in my shop, but we only work with native code.


4. ScottGu left...
Fri 22 Aug 08 7:29 pm :: http://weblogs.asp.net/scottgu

This sounds like you have a previous beta build of something on your system that is causing problems. Likely culprets: Silverlight 2 beta, LINQ to Entities or Astoria Beta, or VS 2008 SP1 Beta.

We recommend running this tool before doing an install: http://www.microsof t.com/downloads/details.aspx?FamilyId=A494B0E0-EB07-4FF1-A21C-A4663E456D9D& displaylang=en

It goes through and cleans up registry entries and other things that might have been left behind from previous betas.

If you still have problems send me mail and we can have someone help further.

Thanks,

Scott


5. Kevin Hoffman left...
Fri 22 Aug 08 7:32 pm

I've run that tool. Twice. :(


6. Kevin Hoffman left...
Fri 22 Aug 08 7:37 pm

Thanks for the advice on the tool though. I'll do another remove, then re-run the tool and do a re-install of the SP and see how that pans out.


7. Palesz left...
Sat 23 Aug 08 3:19 pm :: http://blog.palesz.net

I had some issues with VS 2k8 sp1, but i did not see this one. This is something really weird. My resolved issues: 1. Visual studio dies when starting to edit XAML (to be accurate it dies when i want to use intellisense in XAML). There was a XML namespace that the VS did not like. I removed it from that file, an now it works fine. (if you need that namespace, you can't do anything) 2. http://forums.msdn.microsoft.com/en-US/vssetup/thread/61d52410-f101-4725 -8a78-00c8d141cca8/

I don't think that any of these would solve your problem, but give them a try, maybe!


8. Kevin Hoffman left...
Sun 24 Aug 08 6:02 pm

So I uninstalled everything I could find except for VS 2008 itself. I then grabbed the patch removal tool and re-ran it. Rebooted. Installed VS 2008 SP1. As usual, halfway through the install Windows Update wants me to reboot. I postpone. Install finishes successfully, after a few reboots, Windows says "Updates failed to install" or some such, "Reverting changes". Then I get back the same bug I've been having where WPF apps fail to build. Completely dead in the water and cannot compile WPF code.


9. ScottGu left...
Sun 24 Aug 08 10:37 pm

You didn't send me email like I asked, so am not sure if you still have issues. If you do, though, send me email and someone from the setup team can look at it. It sounds like something on your system is causing setup not to work. It could potentially be some previous beta not fixed by the cleanup tool - we can check the logs and find out for sure if you send email.

Thanks,

Scott


10. Kevin Hoffman left...

Scott, sent reply but apparently you're supposed to be out of the office dealing with your new baby and not fixing my VS 2008 SP1 problems :)


11. Dmitry Lyalin left...
Mon 25 Aug 08 2:30 pm :: http://www.lyalin.com/blog

Sorry for your troubles Kevin!. Try this: Uninstall "Microsoft .NET 3.5 SP1", then without touching anything else manually browse to the .NET 3.5 SP1 installer on the VS 2008 SP1 ISO (or download it) and run that directly. Run it explicitly as admin. After re-install it should prompt you for reboot, restart the machine and everything should work. Please let us know if it fixes your issue, thanks!


12. Kevin Hoffman left...
Mon 25 Aug 08 4:00 pm

Thanks for the tip. My wife made home-made chili tonight. I will eat chili first, then try and fix VS 2008. Sorry, but good chili trumps WPF any day of the week ;)


13. Dmitry Lyalin left...
Mon 25 Aug 08 5:46 pm :: http://www.lyalin.com/blog

not a problem, enjoy the Chili and I look forward on hearing if you had the same positive results as I did with this fix :)


14. Kevin Hoffman left...
Mon 25 Aug 08 7:02 pm

This fix didn't even come close to the problem. I got my 11,000-file reboot and that worked fine. Then it did the 6,000 file reboot and got to stage 1 of 3 of applying updates, said that some updates did not install properly and "reverting changes". VS 2008 SP1 shows up as SP1, .NET 3.5 SP 1 appears to be installed, but I cannot build WPF apps.


15. Dmitry Lyalin left...
Wed 27 Aug 08 10:17 pm :: http://www.lyalin.com/blog

wow that sucks im very sorry :(. Please don't hesitate to contact me if you need help trying to debug this further.


16. Pier left...
Thu 28 Aug 08 9:00 am

I'm uising WPF, Linq to Dataset and the integration with Winforms and I did not have any single problem. Actually VS Wpf Designer is improved in terms of performance. The only warnong i had was about deprecated bitmap effect.

Thanks God!


17. Keoz left...
Sat 06 Sep 08 8:20 pm

The same problem here, it's not my machine however my girlfriend's machine is an x86 no betas but after sp1 install the same problem Kevin states, i have not had any problems with x64 vista sp1 machine, could this be a issue of x86 vista without sp1 machine?


18. Kevin Hoffman left...

Apparently, very few people (relatively) have this problem... I was running Vista x86 SP1 when I attempted the .NET 3.5 SP1 install.. My guess is that it was related to the months of abuse I've been smothering that Vista install with as I install beta after beta after beta...


19. Cole left...
Tue 14 Oct 08 12:21 am

Kevin, did you ever find a solution to this problem? I have having the same thing and dread reinstalling Vista to try and solve it.


20. Anon left...
Mon 17 Nov 08 6:32 pm

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3777421&SiteID=1

The above link, is a bug report of the problem I created since I have the same problem.

Did anyone ever find a solution?


21. Anon left...
Mon 17 Nov 08 6:33 pm

https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedb ackID=376503 is the bug report.

The previous link was to the forum post.


22. Stephen McFall left...
Mon 01 Dec 08 4:58 pm

I had the same problem - resolved by uninstalling .Net framework 3.5 service pack 1 then reinstalling it - no problems since.


Tag Related Posts

Installing Geneva Beta 2 on Windows7

Thu 05 Nov 09 1:38 P GMT-05

Geneva Distilled

Thu 09 Apr 09 1:27 P GMT-05

WPF Control Development Unleashed

Wed 25 Mar 09 2:26 P GMT-05

What's New in Silverlight 3

Fri 20 Mar 09 2:38 P GMT-05

MIX 2009 - Day 1 Recap

Thu 19 Mar 09 2:17 P GMT-05

At MIX 2009, pre-keynote

Wed 18 Mar 09 2:50 P GMT-05

Live Framework April 2009 CTP is out!

Fri 13 Mar 09 12:11 P GMT-05

Velocity CTP3 coming up next week

Thu 12 Mar 09 4:44 P GMT-05
tags:            

My first day using Windows 7 Beta 1

Wed 25 Feb 09 1:58 P GMT-05

Microsoft Windows Azure Distilled

Tue 28 Oct 08 1:42 P GMT-05

Microsoft's Lofty Direction

Sun 05 Oct 08 2:30 P GMT-05

MobileMe vs. Live Mesh Throwdown - Round 1

Wed 16 Jul 08 10:33 A GMT-05

MobileMe vs. Live Mesh - Round 1

Wed 11 Jun 08 12:20 A GMT-05

One Framework to Rule them All

Mon 25 Feb 08 6:49 P GMT-05

C# 3.0 - Are Object Initializers Evil, Useful, or Both?

Fri 26 Oct 07 10:53 A GMT-05
tags:    

Microsoft Codename Acropolis - Unwrapped

Wed 20 Jun 07 3:22 P GMT-05
tags:              

Installing Orcas Beta 1 - VMware Style

Mon 23 Apr 07 12:16 P GMT-05

Orcas Beta 1 Released

Fri 20 Apr 07 7:09 P GMT-05

Tech-Ed 2006 Day 1 - Registration Day

Sun 11 Jun 06 7:17 P GMT-05

Dan Brown's got competition

Mon 05 Jun 06 3:51 P GMT-05