-
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
.NET Runtime missing prompt is not redirecting to the correct runtime URL #36765
Comments
Tagging subscribers to this area: @vitek-karas, @swaroop-sridhar |
It works for missing framework error which leads to URL like this: This does redirect to https://dotnet.microsoft.com/download/dotnet-core/3.1/runtime/ as expected. But the one where the runtime is missing all-up doesn't work. The URL looks like this: And that leads to https://dotnet.microsoft.com/download/dotnet-core. |
This is up to me to fix. I'll look at it. I had noticed the same thing, but hadn't fixed it yet. |
This should be handled by the web site: https://github.com/dotnet/website/issues/1958 |
The link you provided gives me a 404 error page. Probably because the repo is private?! How can I track the issue and get notified when its fixed then? |
Sorry - I didn't realize it's private. I'll keep this issue opened for tracking purposes. |
Hi, can you give us any update on this? It seems like this is still not fixed for .NET 5: #3816 (comment) |
Thanks for the reminder - I'll ping the right people again. |
@vitek-karas @richlander Any update on this? Can we please get this fixed for .NET 6? Because on RC1 this issue still exist, the prompt clearly says what's missing: |
Hello, quick info from my side, have tested the Workflow again with a fresh installation of Windows 11 on Dell Inspiration (2016). on downloading Small Business Developments, a popup appears that reminds you just that .NET is missing. Then you are redirected to the .NET 5.0 selection page (so that works). After installing .NET 5.0.12 Desktop Environment (x64) - where you have to know what you want as a *** New UseR *** - it tells you that the Microsoft.WindowsDesktop.App requires .NET 5.0.0 was not found. So the 2nd message is more detailed. However, it leads you to the same page - there again you have to know it's Windows 5.0 Desktop Environment. Clicking on the OK button again, it downloads 5.0.12 again. bummer. The standard user can not install Dynamic Applications, as a result. From my perspective, with frequent versioning of .NET 5.0 Desktop Environment, no purpose to create a workaround self. There are many many developers affected, many many end users, and many many many people are so utterly poor, they can not afford large download quota. So the attempt to integrate everything into an all-in-one Setup is not appropriatet for Dynamic Applications, whereto we are bound by Law (AGB, Terms and Conditions vs UN 1948, declaration of Human Rights). Thanks for prioritizing this, Martin Bernhardt, geb. Grote. |
Hello .NET 5.0/6.0 Desktop Environment Support, I think i've tracked down the problem to the file IoTDeveloper.runtimeconfig.json, which seems automatically created in parallel to IoTDeveloper.exe from .NET 5.0 Desktop release upon. Here in the file it says version is "5.0.0" which then leads the .NET Desktop Environment resolver link algorithm to point Then, the user can install 5.0.12 (x64), which he has to find out about and select kind of manually from all the choices given on the download Website shown. But on next startup of the Windows 10 Store App, it again requests version 5.0.0 - bummer. So the version should rather be "5.0" in almost all cases. At the moment, the Programmer can not fix the problem, as we have no control about the 5.0.x release line detail revision. This is because the Programmer only selects .NET 5.0 Desktop as a release to compile against, right? - the rest is automatic and so the result handling must as well work automatically. From my perspective, we can not expect from the Customer who is paying for a Professional Microsoft Store App to help themselves and doing a web search and so waste half an hour (minimum) on installing the basic requirements, manually. This way we can expect angry customers who think the installation is already broken. Worst start ever for a newly bought Windows 10 Store App. File IoTDeveloper.runtimeconfig.json as created from compiler: { Thank you for prioritizing and resolving this issue, as soon as possible. Martin Bernhardt, Founder |
This is weird. The version |
Has this been looked at yet? On a current WinForms app, this is the URL that starts: That gets you redirected here: To improve the experience, the redirect should point here instead: ...and here for x86: That leads the user to a direct download and makes it easier. |
Also it should be detected if the program requires ASP.NET. |
In the general case, the apphost version isn't that useful. It is just a bit of info that tells you the SDK version that the user used to build the app. We should still give you the latest 6.0.x version. The key thing we should focus on is giving users a page focused on (in this example) a Windows x64 download. /cc @mairaw |
I've assigned this to myself. This is a high-priority task for my team and we'll work on this as soon as we're done with some MAUI work. |
Excellent. I'm happy to talk through ideas on how we might approach this UX. |
@mairaw Any status update on this? |
Meeting with @richlander and @danzhu54 today to discuss this. |
Moving to 8 as there's no work on the runtime for 7, this is basically a tracking bug for the work on the website, which can happen at any time (not bound to the same release schedule as runtime repo). |
Wouldn't it be enough to simply fix the redirect on the website? It clearly already knows what version has to be downloaded, opens a link to it in the browser, but the website redirects to a page with all available .net downloads instead of just the one needed. |
Yes, that's what we're doing @DubbleClick and the work has already started now. So the fix should be coming soon. |
Hey folks! |
Works great, thank you very much. Edit: Nevermind, it only works great for the x64 version. If your application requires the x86 desktop runtime, it still downloads the x64 desktop one. |
Sorry to hear that @DubbleClick. Do you have the aka.ms link that is generated for that use case? |
Thanks @DubbleClick. I looked at our telemetry and I figured out what was happening. We're pushing a fix in a few minutes. It was checking the browser agent instead of respecting the arch being passed. We now have browser agent as a fallback, if needed. |
I believe this is fixed. Closing out. Thanks @mairaw! |
Description
When the .NET Core Runtime is a missing you receive a messagebox where when the user agrees, it redirects the user to the download page where he can install it. Previously it has redirected the user to the correct runtime version. Now it redirects to https://dotnet.microsoft.com/download/dotnet-core/?utm_source=getdotnetcore&utm_medium=referral which is a collection of ALL runtimes, the end user will download the wrong version. The application will not launch and show the message again. We are currently receiving many support tickets because of this.
User sees this messagebox
And gets redirect to this URL:
And when he clicks on something, it gives them the SDK
Expectation
Because this is a (64bit) .NET Core 3.1 desktop application, it should redirect to https://dotnet.microsoft.com/download/dotnet-core/3.1/runtime/desktop/x64 OR at least to https://dotnet.microsoft.com/download/dotnet-core/3.1/runtime
Configuration
Published as .NET Core 3.1 Windows 10 (desktop application WPF or Winforms)
Regression?
Yes, it has worked before. I cannot say when it has stopped working, but it seems to be more a website redirect issue.
Related
#3848
ping: @dagood @richlander @vitek-karas
The text was updated successfully, but these errors were encountered: