Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Net8 downloading speed is too slow
#19
After trying various solutions, I no longer use the publish function. Instead, I use the compile button on the toolbar, then package the compiled files into a Zip file.

If the user's computer already has the .NET 8 runtime installed, the program runs without any issues. However, if the runtime is not installed, launching the program will prompt the dialog box shown in Figure 01. Clicking the Yes button will bring up the dialog box shown in Figure 02.
https://i.postimg.cc/P5Ct5VDK/01.png
https://i.postimg.cc/nrVxb3Z4/02.png

The problem is that the dialog boxes and the opened web pages are not in the localized language, which is neither user-friendly nor convenient.

My idea is to display only one dialog box with customizable description text in the localized language. For example:

"To run this program, you need to install the .NET 8 x64 desktop runtime. Do you want to download and install it?"

When I click the Yes button, the .NET 8 runtime files will be silently downloaded and installed, and then the program will launch.
This approach is simple and user-friendly.

I don't want to use third-party packaging programs; the process is somewhat cumbersome.

My idea is to embed the localized UI text as resources in the exe file and read them when needed. I'm not sure if this is possible to implement.


Messages In This Thread
.Net8 downloading speed is too slow - by Davider - 03-12-2024, 11:10 PM
RE: .Net8 downloading speed is too slow - by Davider - 08-08-2024, 02:29 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)