Skip to content

TargetDeviceFamily=Windows.Desktop causes BladeView resource load exception #2948

@bent-rasmussen

Description

@bent-rasmussen

I'm submitting a...

Bug report (I searched for similar issues and did not find one)

Current behavior

The application crashes with a resource load exception.

Expected behavior

The application does not crash.

Context

Using the BladeView in an enterprise-targetted application with real-time streaming that does not suspend streaming when the user minimizes the window. Inspired by this MVP article:

https://blogs.msdn.microsoft.com/mvpawardprogram/2018/01/30/non-suspending-uwp-desktop-apps/

Minimal reproduction of the problem with instructions

Minimal reproduction of issue in this repository:

https://github.com/observito/WindowsDesktopBladeViewError

Steps to reproduce:

  • Change TargetDeviceFamily to Windows.Desktop in the Package.appxmanifest file
  • Add a BladeView control with a single BladeItem in the MainPage.xaml file

Environment

Nuget Package(s): 

Microsoft.NETCore.UniversalWindowsPlatform (6.2.7)
Microsoft.Toolkit.Uwp.UI.Controls (5.1.1)

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [X] October 2018 Update (17763)
- [ ] Insider Build (build number: )

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

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

Visual Studio 
- [X] 2017 Professional (version: 15.9.10+28307.557)
- [ ] 2017 Preview (version: )

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestHacktoberfest is a month-long celebration of open source softwarebug 🐛An unexpected issue that highlights incorrect behaviorcontrols 🎛️help wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions