In our application, we decided to keep a copy of the .NET 6 runtime with our application. The main reason for that is that we don’t need to install it and deal with all related issues. Here is a short list of issues we have to deal with:

  • Antivirus or security applications can block that installation. In many cases, they block it silently and as a result, our application will fail to start.
  • There could be something strange on that computer and installation can fail.
  • We need to test with cases when this version is already installed.

Each of these issues can take a lot of time to investigate and find a solution. It all takes valuable time