docs-maui icon indicating copy to clipboard operation
docs-maui copied to clipboard

.net Maui Windows publication issues

Open flaubertagu opened this issue 1 year ago • 0 comments

Type of issue

Typo

Description

Hi, I have trouble to publish .net 8 maui windows in sideload. I am using Visual Studio 2022 17.8.6 on a Windows 11 23H2 build version 22631.3085 1st issue - I try to publish a windows only application and I got this error => MSB4057 La cible “_GenerateAppxPackage” does not exist in this project. To avoid this issue I reinteger all other platforms. That’s when the second issue came up. 2nd issue - I try to publish again using ‘sideloading’ and then I got the following error 3 times: The RuntimeIdentifier specified Win10- X86 is not recognized. For more information, consultez https://aka.ms/netsdk1083. The setup to publish the application in sideload was the following

Configuration : Release | Any CPU Runtime target: tried both => Win10-x86 and Win10-x64 Autonomous: True Package path: A path in the C:\UserName/TheSpecificPath And I got the same 2nd issue. I tried to lookup for solutions https://github.com/dotnet/maui/issues/15067 and then followed here https://learn.microsoft.com/fr-fr/dotnet/maui/windows/deployment/publish-unpackaged-cli?view=net-maui-8.0 in vain. For now I do not found any solution to publish the application using sideloading.

Page URL

https://learn.microsoft.com/fr-fr/dotnet/maui/windows/deployment/publish-visual-studio-folder?view=net-maui-8.0

Content source URL

https://github.com/dotnet/docs-maui/blob/main/docs/windows/deployment/publish-visual-studio-folder.md

Document Version Independent Id

a9a8421b-ca5d-96e3-35ab-60118e356017

Article author

@davidbritch

Metadata

  • ID: a9a8421b-ca5d-96e3-35ab-60118e356017
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

flaubertagu avatar Feb 04 '24 14:02 flaubertagu