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:
- Using a text editor, open the file: C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.WinFx.targets
- Search for "MarkupCompilePass1"; this was line 294 for me
- 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: