Nates Stuff

Perspectives on Computing :: Leave a Comment

Bug in Visual Studio 2008 SP1?

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

 

Links:

Comments

Kyle said:

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?

Thanks!

# November 11, 2008 7:00 PM

Nathan Zaugg said:

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.

# November 12, 2008 3:18 PM

A. said:

It worked, thank you.

# December 22, 2008 3:14 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: