-
Notifications
You must be signed in to change notification settings - Fork 362
Closed
Labels
by designSome behavior that is intended and not an issueSome behavior that is intended and not an issueexternal ⤴️Something related to or caused by an external projectSomething related to or caused by an external projectmvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit
Description
Describe the bug
Hi,
After upgrading from 8.2.2 to 8.3.0, as soon I run my WPF application, I've got the following exception :
System.TypeInitializationException : 'The type initializer for 'Module' threw an exception.'
FileNotFoundException : Could not load file or assembly 'WinRT.Runtime, Version=2.1.0.0, Culture=neutral, PublicKeyToken=99ea127f02d97709'. Specified file not found.
It crashes on the very first line of OnStartup method :
IHost host = CreateHostBuilder().Build();
There seems to be something wrong related to WinRT.Runtime.
Thanks
Regression
8.2.2
Steps to reproduce
Not sure if I can provide a repro sample easily...
Expected behavior
App should start with no exception
IDE and version
VS 2022
IDE version
17.11.2
Nuget packages
- CommunityToolkit.Common
- CommunityToolkit.Diagnostics
- CommunityToolkit.HighPerformance
- CommunityToolkit.Mvvm (aka MVVM Toolkit)
Nuget package version(s)
8.3.0
Help us help you
No, just wanted to report this
FroggieFrog, holecekp, NunoBem and jobubo
Metadata
Metadata
Assignees
Labels
by designSome behavior that is intended and not an issueSome behavior that is intended and not an issueexternal ⤴️Something related to or caused by an external projectSomething related to or caused by an external projectmvvm-toolkit 🧰Issues/PRs for the MVVM ToolkitIssues/PRs for the MVVM Toolkit