System.Resources.MissingManifestResourceException when loading XAML in Visual Studio

ac-lap 71 Reputation points
2021-10-09T06:11:22.087+00:00

Some XAML pages of my UWP project does not load and I always get this error.

System.Resources.MissingManifestResourceException

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties.Resources.resources" was correctly embedded or linked into assembly "Microsoft.Toolkit.Uwp.UI.Controls.Core.DesignTools" at compile time, or that all the satellite assemblies required are loadable and fully signed.

Full stack trace
This happens in both VS 2019 and 2022 Preview. How can fix this issue?

Universal Windows Platform (UWP)
{count} votes

2 answers

Sort by: Most helpful
  1. Antoine de Saint- écrasement 1 Reputation point
    2021-10-18T14:56:36.433+00:00

    I do have the same error. It occured after an update to the current version of
    the Microsoft.Toolkit.Uwp.UI.Controls Nuget package. Only the designer seems to be affected, the programm builds and runs normally.

    Unfortunatly the control from the Toolkit i use (Radial Gauge) is an integral part of my application, and i did not find a way to replace it, so any help would be greatly appreciated.

    0 comments No comments

  2. Suzan Aydin 1 Reputation point
    2021-12-06T15:27:13.047+00:00

    @Roy Li - MSFT Can we look into fixing this please? It is a bit irritating and ends up crashing Visual Studio. You can't even add a simple Grid to the Expander as you get The type 'expander' does not support direct content which is obviously not true. I am getting the same issue as the original poster after upgrading my VS2019. Upgrading the UWP Toolkit to 7.12 from 7.10 did not fix the issue - I believe this is a Visual Studio issue.

    0 comments No comments