Skip to content

Source code not showing on non-Windows build targets #37

@Arlodotexe

Description

@Arlodotexe

Background

As part of #29, we are now able to pull in and show in source code for each sample, bundled as app content and pulled in via StorageFile.GetFileFromApplicationUriAsync().

However, due to a bug with Uno (filed separately here), we're unable to pull in and view the source code on any platform other than UWP and WinAppSDK.

Solution(s)

Either unoplatform/uno#8266 (see unoplatform/uno#2502 (comment)) needs to be solved, or a workaround needs to be created.

Or, as a temporary workaround, create a custom MSBuild Target that

  • Checks the head for all referenced projects
  • Checks each referenced project for any usages of
  • Manually copy the files to the project head's "Assets" folder

Then, modify all of our code to only use the Assets folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    UnoIssues related to Uno PlatformWASMBugs related to working with WASM/Codespacesbug 🐛Something isn't workingsample app 🖼

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions