0

I have a .net6 application which uses WindowsToast messages. According to the documentation the TargetFramework must be at least net6.0-windows10.0.17763.0

When trying to run this application on Windows8.1 I get a very ugly missing dll error. Is it possible to customise this error to rather tell the user their OS is not supported?

I am using Clowd.Squirrel to create the install file (which throws the same error as running the exe directly).

I have tried putting a try catch block around static void Main(string[] args) in program.cs and I have tried to attach to the Ad_AssemblyResolve event on the AppDomain but neither of these appear to fire before the missing dll message is shown.

russelrillema
  • 452
  • 7
  • 14

0 Answers0