dotnet / dotnet/winforms

SplashScreen form not shown unless Startup Form set to Sub Main

Open
#4,279 3 comments 0 reactions 1 assignee Claimed by @KlausLoeffelmann View on GitHub
area-VisualBasic priority-3
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

* .NET Core Version:
Microsoft.WindowsDesktop.App 5.0.0

* Have you experienced this same bug with .NET Framework?:
No

**Problem description:**

In Framework SplashScreen is shown if one is defined in project file and Project Startup object is set to Form1. In Core the splash screen is only shown if Startup object is set to Sub Main

**Expected behavior:**
SplashScreen is shown if Startup object is set to Form1

**Minimal repro:**
https://github.com/paul1956/WinForms5VBSample

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.