Skip to content

WindowsAppSDK All-up Sample App no longer runs #212

@michael-hawker

Description

@michael-hawker

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions