Skip to content

[PowerToys Run] Upgrade .NET Core 3.1 to .NET 5 #12285

@mykhailopylyp

Description

@mykhailopylyp

Description of the new feature / enhancement

Upgrade PowerLauncher and all plugins to .NET 6

PowerToys Run and some plugins use Windows Runtime. It is not available in .NET 5 as before but can still be used with Target Framework Moniker option. With this option we have to specify the version of windows runtime. It should be windows10.0.18362.0 as it is the lowest version of windows we support. We should explorer other options here as well.

There is a bunch of obsolete APIs that should be replaced:

  • Assembly.GlobalAssemblyCache. It is used in exception formatted to show loaded assemblies. Should be easy to fix
  • Microsoft.Toolkit.Uwp.Notifications.NotificationActivator. It is used for toast notifications
  • Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat. It is used for toast notifications
  • System.Runtime.Serialization.Formatters.Binary.BinaryFormatter

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority-1Bug that is high priorityProduct-PowerToys RunImproved app launch PT Run (Win+R) Window

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions