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

Fixed sample source not displaying on Wasm, WPF and GTK #88

Merged
merged 3 commits into from
Apr 29, 2022

Conversation

Arlodotexe
Copy link
Member

@Arlodotexe Arlodotexe commented Apr 29, 2022

This PR fixes an issue where XAML/C# source for samples weren't properly bundled as part of the app, and couldn't be displayed alongside the sample itself.

This fix has been tested for WebAssembly, WPF, GTK, UWP and WinAppSDK in debug mode. The fix does not work for Android, but could be made to work in the future with this workaround from Uno, or if fixed from Uno's side.

Closes #37

@Arlodotexe Arlodotexe self-assigned this Apr 29, 2022
Copy link
Member

@michael-hawker michael-hawker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, though looks like #82 broke running the all-samples in codespaces.

@michael-hawker michael-hawker merged commit b60c3aa into main Apr 29, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix/displaying-sample-source-xplat branch April 29, 2022 21:28
@michael-hawker michael-hawker added Uno Issues related to Uno Platform WASM Bugs related to working with WASM/Codespaces sample app 🖼 labels Apr 29, 2022
Martin1994 pushed a commit to Martin1994/Labs-Windows that referenced this pull request Sep 2, 2023
…lkit#88)

* Fixed sample source not displaying on Wasm, WPF and GTK

* Removed irrelevant note

* Remove unused variable
Martin1994 pushed a commit to Martin1994/Labs-Windows that referenced this pull request Sep 2, 2023
…1/titlebar-improvements

Gallery design improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sample app 🖼 Uno Issues related to Uno Platform WASM Bugs related to working with WASM/Codespaces
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Source code not showing on non-Windows build targets
2 participants