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

dotnet run --framework net8.0-windows10.0.19041 in VSCODE opens window but does not render UI Elements #16500

Open
sotoralph opened this issue Apr 28, 2024 · 2 comments
Labels
area/external Categorizes an issue or PR as being external to the Uno

Comments

@sotoralph
Copy link

Current behavior

I installed the Uno Platform using the command lines and opened in VS Code. I open the terminal to the app directory and run

dotnet build

then

dotnet run --framework net8.0-windows10.0.19041

It runs and I see a blank page
2024-04-28_18-50-58

I run the app inside of Visual Studio

Expected behavior

I should see the Login Page.

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

Had to open in Visual Studio instead of VS Code for windows only. Wasm works on both VS and VSCode.

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@sotoralph sotoralph added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Apr 28, 2024
@jeromelaban
Copy link
Member

Thanks for the report. We're not reproducing the behavior you're showing.

dotnet build it not particularly well supported by WinAppSDK at this time, which may cause the behavior you're seeing, but to be sure, could you open a Developer Command Prompt for VS 2022 and start the app using the following:

msbuild /r /t:run /p:TargetFramework=net8.0-windows10.0.19041

@jeromelaban jeromelaban added area/external Categorizes an issue or PR as being external to the Uno and removed kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Apr 30, 2024
@lindexi
Copy link
Contributor

lindexi commented May 16, 2024

Thank you very much. I can build it with command line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/external Categorizes an issue or PR as being external to the Uno
Projects
None yet
Development

No branches or pull requests

3 participants