Skip to content

Microsoft.WindowsAppRuntime.Insights.Resource.dll missing from Foundation package #6387

@dongle-the-gadget

Description

@dongle-the-gadget

Describe the bug

The DLL Microsoft.WindowsAppRuntime.Insights.Resource.dll is missing from the Foundation NuGet package, causing ReleaseInfo and RuntimeInfo APIs to fail.

Steps to reproduce the bug

  1. Create a blank project and install Microsoft.WindowsAppSDK.Foundation package
  2. Call Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo.AsString
  3. Notice crash on startup

Expected behavior

The test program doesn't crash.

Screenshots

No response

NuGet package version

(Foundation Package) 1.8.260222000

Packaging type

Packaged (MSIX)

Windows version

No response

IDE

No response

Additional context

This doesn't happen if the user has the Runtime NuGet package installed since that package will extract all Framework MSIX package contents (including Microsoft.WindowsAppRuntime.Insights.Resource.dll), which will make this functionality work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions