-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"you must install or update .net to run this application" localization or personnalization improvements #110013
Comments
Tagging subscribers to this area: @dotnet/area-meta |
Tagging subscribers to this area: @vitek-karas, @agocke, @VSadov |
Could you publish as self-contained instead? |
not really, its not the idea. Actually this winform app is deployed on server environnement to be use as an installer/configurer for a asp .net server app (in .net 9.0 also) So the idea was more to have the .net installed on the machine because the webapp will need too, otherwise i also have to make my webapp self-contained. all of this will increase a lot the size of my app (of the two apps actually). |
Right now I think your options are limited to writing a custom host: https://learn.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting However, this has come up as an issue before. @elinor-fung @vitek-karas do you know if there is an existing tracking issue? |
There's been something similar for self-contained: #50081 Localization of the host has been discussed before, my understanding is that for now we decided not to do it. The proposed "Use the host's OS language" might be problematic for size - it would require the apphost to carry localization for all languages and then at runtime pick the right one. This is also somewhat of a slippery slope - we add localization, customized messages, icons... what next? The more scalable solution would be a good example for this scenario which uses a custom host. With nethost and hostfxr the actual functional code in the custom host is about 1 page of C++, I could see us simplifying that even more by adding more helpers to nethost. |
Hello guys, i developed a .net 9.0 winform app, published in framework dependant and targeting win-x64.
First time a user will run this app, he will have the message "you must install or update .net to run this application" to install the framework, which is good.
Problem, my app is deployed in french market, most of the user don't speak english and it seem they are scared of this message and some of them refused to go further thinking its a virus or something like that.
I was wondering if some personnalization of this window was possible, for example use the system language will be better, and even more, have the ability to decide itself which message show in the window so it could be personnalize, for example by overriding some entries in runtimeconfig.json or things like that. Overriding the logo would be nice too.
What do you think about that ? Is it something you are thinking or can be added in your roadmap ?
thanks !
The text was updated successfully, but these errors were encountered: