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] Unable to run published WinUI app #2941

Closed
sprabha1990 opened this issue Oct 14, 2021 · 2 comments
Closed

[Bug] Unable to run published WinUI app #2941

sprabha1990 opened this issue Oct 14, 2021 · 2 comments
Labels
legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) partner/winui WinUI / Project Reunion s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)

Comments

@sprabha1990
Copy link

I'm trying to run the default templated .Net MAUI-WinUI application from the publish folder but it fails saying I need to install frameworks.

image

The app runs from the visual studio as expected.

I have Net6 RC1, Net5 and NetFramework4.7.2 SDK's installed in my PC and I'm using VS 2022 Preview 4.1
What other frameworks are required?

To Reproduce:
#1. Create a default MAUI application.
#2. Publish it with TF: net6.0-windows10.0.19041 and TR: Portable
image
#3. Run the application from the published folder

@taozuhong
Copy link

taozuhong commented Oct 14, 2021

image

Exception thrown: 'System.TypeLoadException' in Microsoft.Maui.Controls.dll

met the same trouble on VS 2022 Preview 5 + MAUI Preview 9 + NET SDK 6 rc.2

@jsuarezruiz jsuarezruiz added partner/winui WinUI / Project Reunion t/bug Something isn't working labels Oct 14, 2021
@Eilon Eilon added the legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) label Nov 1, 2021
@Redth Redth added the s/duplicate 2️⃣ This issue or pull request already exists label Nov 5, 2021
@Redth
Copy link
Member

Redth commented Nov 5, 2021

Thanks this is currently unsupported but is on our roadmap #3166

@Redth Redth closed this as completed Nov 5, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Feb 18, 2022
@Eilon Eilon added the t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) partner/winui WinUI / Project Reunion s/duplicate 2️⃣ This issue or pull request already exists t/bug Something isn't working t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)
Projects
None yet
Development

No branches or pull requests

5 participants