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

Payload from UWP project does not appear in WAPPROJ ⇒ Desktop app ⇒ UWP app reference sequence #314

Open
2 of 8 tasks
srdjanjovcic opened this issue Apr 9, 2021 · 7 comments
Labels
bug 🐛 Something isn't working XamlIslands 🏝️

Comments

@srdjanjovcic
Copy link

Describe the bug

When you have a following chain of references:

WAPPROJ C++ desktop app with Microsoft.Toolkit.Win32 UWP app

...any resources from UWP app (for example, XBF files) do not appear in WAPPROJ.

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:
    I do not know. I am opening bug on behalf of customer.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Unpack attached ToolkitRepro.zip
  2. Open in Visual Studio
  3. Build Package project.
  4. Examine **Package\bin\x86\Debug\Package.build.appxrecipe
  5. Notice that there is no MainPage.xbf listed.

Expected behavior

.appxrecipe of WAPPROJ should contain all payload from UWP app.

NuGet Package(s):
See DesktopApp\packages.config

Device form factor:

  • Desktop
  • Xbox
  • Surface Hub
  • IoT

Visual Studio

  • 2017 (version: )
  • 2019 (version: 16.9.3)
  • 2019 Preview (version: )
@srdjanjovcic srdjanjovcic added the bug 🐛 Something isn't working label Apr 9, 2021
@ghost ghost added the needs triage 🔍 label Apr 9, 2021
@ghost
Copy link

ghost commented Apr 9, 2021

Hello srdjanjovcic, 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 🙌

@Rybasum
Copy link

Rybasum commented Apr 11, 2021

Hi Microsoft,
I'm the customer who raised the original issue. In my solution (a copy of which I sent to Srdjan) I use Microsoft.Toolkit.Win32.UI.SDK.6.1.2 and Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.2. Everything works fine with Visual Studio 16.9.0 and below but the very same project, using the same toolkit version, does not work with VS 16.9.1 and above.
Kind regards,
Marcin

@michael-hawker
Copy link
Member

FYI @marb2000

@marb2000
Copy link
Contributor

@ocalvo any idea? I thought C++ XAML Islands were working on the past.

@srdjanjovcic srdjanjovcic changed the title Payload from UWP project does not appear in WAPPROJ => Desktop app => UWP app reference sequence Payload from UWP project does not appear in WAPPROJ ⇒ Desktop app ⇒ UWP app reference sequence Apr 20, 2021
@ocalvo
Copy link
Contributor

ocalvo commented Apr 21, 2021

@ocalvo any idea? I thought C++ XAML Islands were working on the past.

The only thing that has changed is VS. Perhaps there was a breaking change in VS.

@michael-hawker
Copy link
Member

@marb2000 think you could verify and pull in someone from VS?

@srdjanjovcic
Copy link
Author

@michael-hawker, @marb2000 -- that would be probably me (or someone from my team). 🙂

Original VS feedback ticket: https://developercommunity.visualstudio.com/t/CWinRT-Desktop-bridge-app-throws-0x80/1386688

There are additional logs there, if you are signed in with MSFT credentials.

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

5 participants