C# UWP : Splash screen time

Keith Crotty 81 Reputation points
2021-03-22T16:24:21.233+00:00

In my old VB program, I had a form for the Splash screen. It would complete then fade out.

I re-wrote this in C# 2019 VS. When I run this from VS, its shows for 4-5 seconds (longer than I would like and no fade).

Now, we have created an Msix install package. When you run that, the splash goes away so fast you cant read anything.

I dont see any way to control it since it is being all done in the settings. Adding to that, shouldn't it react the same as when your testing in VS?

As a test, I added the following line at the end of the program initialization. It seemed to do nothing.
await Task.Delay(TimeSpan.FromSeconds(50000.1));

The only solution I can think of is to basically just build my own splash. That doesn't seem like the correct solution.

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | Visual Studio | Other
Developer technologies | C#
0 comments No comments
{count} votes

Accepted answer
  1. Juan Betancourt 76 Reputation points
    2021-03-22T16:57:32.077+00:00

    For that scenario Microsoft recommends to create a custom splash screen

    see the article "Display a splash screen for more time" at
    https://learn.microsoft.com/en-us/windows/uwp/launch-resume/create-a-customized-splash-screen

    Remember to mark as answer if this resolved your issue

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Keith Crotty 81 Reputation points
    2021-03-22T21:08:54.153+00:00

    Thanks. I had miss this.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.