I have a Wix v5 msi and bootstrapper (.exe) project.
When I install the MSI and try to run the installed application (.exe) it keeps saying: "You must install .NET Desktop Runtime to run this application" and I can't continue.
The runtime is installed:
This is installed on the pc (a part of dotnet --info):
Microsoft.WindowsDesktop.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.NETCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.AspNetCore.App 8.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
8.0.301 [C:\Program Files\dotnet\sdk]
Host:
Version: 8.0.6
Architecture: x64
Commit: 3b8b000a0e
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19045
OS Platform: Windows
RID: win-x64
The Framework dependencies in Visual Studio projects are set to Microsoft.NETCore.App, Microsoft.WindowsDesktop.App and Microsoft.WindowsDesktop.App.WPF version 8.0.6.
Still I cannot run my installed .exe application because it gives me the message that I need to install .NET Desktop Runtime to run this application.
Any ideas or suggestions? Is this a bug in Wix Toolset?
