Skip to content

ridomin/CoreAppLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoreAppLauncher

When migrating Desktop apps to .NETCore 3.0 you might find this small util usefull. It allows to launch a NETFX app in the context of .NETCORE3.

If you want to launch your WPF app named MyWPFApp that has an App.xaml file as startup, you must create a .NET Core app and in the Program.cs file add the launcher:

static class Program
{
  class MyApp : MyWPFApp.App, CoreAppLauncher.IIntializable{}

  [STAThread]
  static void Main()
  {
     CoreAppLauncher.Launcher.WPFLauncher(new MyApp());  
  }
}

NuGet package available at https://www.nuget.org/packages/Rido.CoreAppLauncher

About

Launches Desktop Apps in other assemblies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages