Added fix for files with BuildAction = SplashScreen.