C
C#10mo ago
ivi

❔ How to show users a message if missing NET Core Runtime?

My mostly-console application requires .NET 7. Unfortunately, when users don't have it, it just silently exits and they don't get the opportunity to read a helpful error message, if it even exists. Can I somehow change this and show a meaningful error popup if users are missing prerequisites?
2 Replies
ivi
ivi10mo ago
I've seen other applications which are able to spit out a generic "you're missing the framework" message Yeah, users use it from the explorer Specifically they drag files into the exe And then say the tool is broken, it causes a lot of tech support strain It's a Windows tool, net7.0-windows
Accord
Accord10mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.