Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Xaml Island Sample fails #345

Open
r-laf opened this issue Mar 15, 2022 · 2 comments
Open

Xaml Island Sample fails #345

r-laf opened this issue Mar 15, 2022 · 2 comments
Labels
bug 🐛 Something isn't working XamlIslands 🏝️

Comments

@r-laf
Copy link

r-laf commented Mar 15, 2022

Describe the bug

A clear and concise description of what the bug is.

Microsoft.Toolkit.Win32.UI.SDK 6.1.2 fails to run the Xaml Island Sample https://github.com/microsoft/Xaml-Islands-Samples/blob/master/NativeXamlIslands.sln in packaged mode.

See microsoft/Xaml-Islands-Samples#46

It appears Microsoft.WinRT.Win32.targets fails to copy some essentials files to AppX folder after build, for example, the following files are missing in AppX folder

.\Microsoft.UI.Xaml.dll
.\Microsoft.UI.Xaml.pri
.\Microsoft.UI.Xaml.winmd
.\SampleLibraryCS.dll
.\SampleLibraryCS.runtimeconfig.json
.\SceneLoaderComponent.dll
.\SceneLoaderComponent.winmd
.\TreeViewHostUserControl.xbf
.\dummy.exe

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Build https://github.com/microsoft/Xaml-Islands-Samples/blob/master/NativeXamlIslands.sln with Microsoft.Toolkit.Win32.UI.SDK 6.1.2 will give the error.

Build https://github.com/microsoft/Xaml-Islands-Samples/blob/master/NativeXamlIslands.sln Microsoft.Toolkit.Win32.UI.SDK 6.0.0-preview7.1 will give no error.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Environment

NuGet Package(s): 

Package Version(s): 

Project .NET Version:
- [ ] .NET Framework (version: )
- [ ] .NET Core 3
- [ ] .NET Core 3.1 Preview (version: )

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (build number: )
Win 11 22000.556

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x ] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [ ] 2019 (version: ) 
- [ ] 2019 Preview (version: )
2022

Additional context

Add any other context about the problem here.

@r-laf r-laf added the bug 🐛 Something isn't working label Mar 15, 2022
@ghost ghost added the needs triage 🔍 label Mar 15, 2022
@ghost
Copy link

ghost commented Mar 15, 2022

Hello zh4ui, thank you for opening an issue with us!

I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌

@michael-hawker
Copy link
Member

FYI @ocalvo @marb2000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 🐛 Something isn't working XamlIslands 🏝️
Projects
None yet
Development

No branches or pull requests

2 participants