Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WindowsAppSDK All-up Sample App no longer runs #212

Closed
michael-hawker opened this issue Sep 1, 2023 · 0 comments · Fixed by #318
Closed

WindowsAppSDK All-up Sample App no longer runs #212

michael-hawker opened this issue Sep 1, 2023 · 0 comments · Fixed by #318
Assignees
Labels
help wanted Extra attention is needed regression What was working is now broke sample app 🖼️

Comments

@michael-hawker
Copy link
Member

Not sure when this started happening (as it's worked before), but we're now getting an error loading the WASDK sample app all-up:

System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'CommunityToolkit.WinUI.Behaviors.FadeHeaderBehavior' from assembly 'CommunityToolkit.WinUI.Behaviors, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null'.
Source=BehaviorsExperiment.Samples
StackTrace:
at BehaviorsExperiment.Samples.Behaviors_Samples_XamlTypeInfo.XamlTypeInfoProvider.InitTypeTables() in H:\code\CommunityToolkitWindows\components\Behaviors\samples\obj\Debug\net6.0-windows10.0.19041.0\XamlTypeInfo.g.cs:line 414
at BehaviorsExperiment.Samples.Behaviors_Samples_XamlTypeInfo.XamlTypeInfoProvider.LookupTypeIndexByName(String typeName) in H:\code\CommunityToolkitWindows\components\Behaviors\samples\obj\Debug\net6.0-windows10.0.19041.0\XamlTypeInfo.g.cs:line 420

Originally we thought it may just be in release mode, but I just saw this with debug too. I don't believe this affects individual component heads, but could be related to #169?

Not sure how to understand what's happening here at the moment. We'll have to come back to this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed regression What was working is now broke sample app 🖼️
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants