Bug in Visual Studio 2008 SP1?

Posted Monday, September 15, 2008 11:25 AM by Nathan Zaugg

This is just a quick post.  I had a bug where any time I tried to compile a WPF project on my laptop I got the following pair of errors:

Error Message 1:
The "SplashScreen" parameter is not supported by the "MarkupCompilePass1" task. Verify the parameter exists on the task, and it is a settable public instance property.

Error Message 2:
The "MarkupCompilePass1" task could not be initialized with its input parameters.

I completely uninstalled Visual Studio 2008 & SP1 and reinstalled everything and this did not go away.  Anyway, here is how you fix it:

  1. Using a text editor, open the file: C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.WinFx.targets
  2. Search for "MarkupCompilePass1"; this was line 294 for me
  3. Remove the following line from the XML tag line: SplashScreen="@(SplashScreen)"


I have also posted my work around on the Microsoft Connect site (link below).




# re: Bug in Visual Studio 2008 SP1?

Tuesday, November 11, 2008 7:00 PM by Kyle

Thanks! It helps a lot.

But after that, i got another problem.

While I double-click on a XAML window at Solution Explorer in VS2008, Error shows:

Error 1 Could not create an instance of type 'Window'. D:\WorkShop\Blend\WpfApplication3\WpfApplication3\Window1.xaml 1 1 WpfApplication3

and designer couldn't loaded in VS2008.

Do you have any idea on this?


# re: Bug in Visual Studio 2008 SP1?

Wednesday, November 12, 2008 3:18 PM by Nathan Zaugg

I didn't have that problem but I still have others and I suspect it's the .NET Framework 3.5 as I can't do WCF services anymore.

# re: Bug in Visual Studio 2008 SP1?

Monday, December 22, 2008 3:14 AM by A.

It worked, thank you.

# re: Bug in Visual Studio 2008 SP1?

Tuesday, February 03, 2009 12:06 PM by Mark

I had this same problem earlier, but it fixed itself after i followed the microsoft updater restart

# re: Bug in Visual Studio 2008 SP1?

Monday, March 09, 2009 6:41 AM by bob

Thanks homeslice you fixed it for me. :)