Skip to content
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

Bug: Warning about "you must install Desktop Runtime" (7.0.11) #412

Open
2 tasks done
strammermax opened this issue May 12, 2024 · 2 comments
Open
2 tasks done

Bug: Warning about "you must install Desktop Runtime" (7.0.11) #412

strammermax opened this issue May 12, 2024 · 2 comments

Comments

@strammermax
Copy link

strammermax commented May 12, 2024

Describe the bug
I get a warning about .net framework, "you must install Desktop Runtime"
But i tried everything but warning still exists

To Reproduce
Steps to reproduce the behavior:

  1. windows 11
  2. standard install Hass.agent
  3. restart windows 11
  4. on startup => warning "you must install Desktop Runtime"

Expected behavior
no warning becoze if you installed 7.0.11 or greater

Screenshots
image

Misc info (please complete the following information):

  • image
  • English :
  • HASS.Agent version:
    image

Please check what's applicable (multiple answers possible):

  • Installed via installer
  • Problem occurs in HASS.Agent

Additional context

  • hass.agent was installed according to the installer.

  • This worked well for 2 months.

  • Suddenly, when starting the hass agent service, I received a notification that .net desktop 7.0.11 was not installed.This was correct, as I had only installed 7.0.18.

  • I then installed Microsoft.WindowsDesktop.App 7.0.11 x64, but that was not a solution.

  • After that, I also installed Microsoft.WindowsDesktop.App 7.0.11 x32, but that also did not work.

  • Additionally, I installed ASP.NET Core Runtime 7.0.11 x64 & x32, but the notification persisted."

Logs
Logging .Net frameworks
<32Bit>
2.0.50727.9174 ->C:\Windows\Microsoft.NET\Framework\v2.0.50727
4.8.9232.0 ->C:\Windows\Microsoft.NET\Framework\v4.0.30319
<64Bit>
2.0.50727.9174 ->C:\Windows\Microsoft.NET\Framework64\v2.0.50727
4.8.9232.0 ->C:\Windows\Microsoft.NET\Framework64\v4.0.30319

==== Installed .NET Frameworks ====
.NET FW 2.0 SP 2 (CLR 2.0)
.NET FW 3.0 SP 2 (CLR 2.0)
.NET FW 3.5 SP 1 (CLR 2.0)
.NET FW 4.6.2 Windows 11 22H2(CLR 4.0)
.NET FW 4.7 Windows 11 22H2(CLR 4.0)
.NET FW 4.7.1 Windows 11 22H2(CLR 4.0)
.NET FW 4.7.2 Windows 11 22H2(CLR 4.0)
.NET FW 4.8 Windows 11 22H2(CLR 4.0)
.NET FW 4.8.1 Windows 11 22H2(CLR 4.0)

==== Installed .NET Core Runtime 64bit ====
Microsoft.AspNetCore.App 6.0.26
Microsoft.AspNetCore.App 7.0.11
Microsoft.AspNetCore.App 7.0.15
Microsoft.AspNetCore.App 7.0.18
Microsoft.AspNetCore.App 8.0.1
Microsoft.AspNetCore.App 8.0.4
Microsoft.NETCore.App 5.0.12
Microsoft.NETCore.App 6.0.16
Microsoft.NETCore.App 6.0.26
Microsoft.NETCore.App 6.0.29
Microsoft.NETCore.App 7.0.11
Microsoft.NETCore.App 7.0.15
Microsoft.NETCore.App 7.0.18
Microsoft.NETCore.App 8.0.1
Microsoft.NETCore.App 8.0.4
Microsoft.WindowsDesktop.App 6.0.26
Microsoft.WindowsDesktop.App 7.0.11
Microsoft.WindowsDesktop.App 7.0.15
Microsoft.WindowsDesktop.App 7.0.18
Microsoft.WindowsDesktop.App 8.0.1
Microsoft.WindowsDesktop.App 8.0.4

==== Installed .NET Core Runtime 32bit ====
Microsoft.AspNetCore.App 6.0.26
Microsoft.AspNetCore.App 7.0.11
Microsoft.AspNetCore.App 7.0.15
Microsoft.AspNetCore.App 8.0.1
Microsoft.NETCore.App 6.0.26
Microsoft.NETCore.App 7.0.11
Microsoft.NETCore.App 7.0.15
Microsoft.NETCore.App 7.0.18
Microsoft.NETCore.App 8.0.1
Microsoft.WindowsDesktop.App 6.0.26
Microsoft.WindowsDesktop.App 7.0.11
Microsoft.WindowsDesktop.App 7.0.15
Microsoft.WindowsDesktop.App 7.0.18
Microsoft.WindowsDesktop.App 8.0.1

==== Installed .NET Core Sdk 64bit ====
7.0.408
8.0.101
8.0.104

==== Installed .NET Core Sdk 32bit ====

==== Languages ====
< Installed Languages 3.0>
English - United States
Dutch – Netherlands
< Installed Languages 3.5.x>
English - United States
Dutch – Netherlands
< Installed Languages 4.x>
English - United States
Dutch – Netherlands

==== Updates ====
Microsoft .NET Framework 4 Client Profile
KB2468871
KB2468871v2
KB2478063
KB2533523
KB2544514
KB2600211
KB2600217
Microsoft .NET Framework 4 Extended
KB2468871
KB2468871v2
KB2478063
KB2533523
KB2544514
KB2600211
KB2600217
KB2468871
KB2468871v2
KB2478063
KB2533523
KB2544514
KB2600211
KB2600217

@stavismed
Copy link

stavismed commented Aug 15, 2024

Same by me. HASS.Agent has run smoothly over months. Now, suddenly this popup shows up (in my case App host version is 6.0.11)
If I click on download now, nothing happens.

I tried deinstalling Hass.Agent and installing again, but while installing the same popup appears.

Running dotnet --list-runtimes lists:
Microsoft.NETCore.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.33 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

6.0.3 was required by HASS.Agent

@stavismed
Copy link

I just tried to install the follow-up-version of HASS.Agent and HASS.Satellite from https://github.com/hass-agent/HASS.Agent/releases/tag/2.0.1
this worked out ... it even took over the old configuration!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants