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.

Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,640 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,302 questions
0 comments No comments
{count} votes

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.