Closed danies8 closed 2 years ago
Hello friend, what's the error you see? Can you post some logs from EventViewer for example, or some print screens?
Thanks
I installed https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.7-windows-x64-installer and is not helped , the same message. This my control panel:
I installed also https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net48-web-installer and is not helped , the same message.
I take those installations from :https://docs.microsoft.com/en-us/windows/msix/msix-server-2019
install latest Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle via powershell:
Add-AppxProvisionedPackage -Online -PackagePath .\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle -LicensePath .\08d8788d59cf47ed9bf42c31e31f8efa_License1.xml -Verbose
(XML can be found here: https://github.com/microsoft/winget-cli/releases/download/v1.3.1872/a941c144deac426082dc9f208f729138_License1.xml)
I got this after running the msix
ok, you miss the VC++ Desktop framework dependency .
Install the x86 and x64 appx files with Add-AppxPackage
I tried to install the x86 version without success:
and what happens with x64 version? Same error?
Same:
I fixed the command to Add-AppxPackage -Path ".\Microsoft.VCLibs.x64.14.00.Desktop.appx" and it work same for x86. But run maui msix i still got error:
Any solutions ? I tried the same process on other server 2019 same results!!! Do I need specials installation for MAUI msix on server 2019 or its like on window 10 ?
update VS to 17.3 Preview 4 and try to create an unpacked app that has everything included to run.
try this second command and look if this works. Server is not officially supported by MAUI, so try it and look what happens.
I succeeded to create EXE && it run both on window 10 && server 2019 as exe. The fix is /p:GenerateAppxPackageOnBuild=false Thanks
Currently NET runtime +NET Framework 3.5 + VCLibs are installed , are they needed when I have exe in server 2019?
I succeeded to create EXE && it run both on window 10 && server 2019 as exe. The fix is /p:GenerateAppxPackageOnBuild=false Thanks
great to hear this 🥳
Currently NET runtime +NET Framework 3.5 + VCLibs are installed in server 2019, are they needed when I have exe in server 2019?
Description
I deployed Maui app as shown in https://docs.microsoft.com/en-us/dotnet/maui/windows/deployment/overview Run this on new server 2019 with Desktop Experience installed in it. and is not working.
Steps to Reproduce
Version with bug
6.0.408 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
....
Did you find any workaround?
No
Relevant log output