项目文件无法指定多个Splash Screen元素

时间:2012-08-08 02:18:47

标签: visual-studio-2010 c#-4.0

我无法相信这一点。我尝试按照MSDN的指南添加启动画面,但我的WPF应用程序项目因此而破坏。现在我无法调试&再次运行应用程序。

我得到的唯一信息是:

Project file cannot specify more than one Splash Screen element

没有发生这种情况的地方。当我看一下输出窗口时,它看起来像这样......

------ Build started: Project: MPCS Line Off, Configuration: Debug x86 ------ C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets(269,9): error MC1004: Project file cannot specify more than one SplashScreen element. C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFX.targets(269,9): error BG1003: The project file contains a property value that is not valid.

我搜索了高低,但没有运气。仅供参考,这是在VS2010中。

1 个答案:

答案 0 :(得分:1)

有多个文件“Build Action = SplashScreen”