|
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.
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.
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.
I haven't had any problems with it in my shop, but we only work with native
code.
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.
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.
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/
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.
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.
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 :)
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!
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 ;)
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 :)
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.
wow that sucks im very sorry :(. Please don't hesitate to contact me if you
need help trying to debug this further.
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.
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?
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...
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.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3777421&SiteID=1
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?Feedb
ackID=376503 is the bug report.
I had the same problem - resolved by uninstalling .Net framework 3.5
service pack 1 then reinstalling it - no problems since.