Skip to content

Could not load type... #184

@iverdiver

Description

@iverdiver

Describe the bug

I've added the HandyControls with and 's' at the end, version 3.4.4 to my Project.
It works fine if I use the "old method when adding the code to App.xaml:

<Application.Resources>

<ResourceDictionary.MergedDictionaries>


</ResourceDictionary.MergedDictionaries>

</Application.Resources>

But if I use the either the "new" method for both HandyControl and HandyControls:
<Application.Resources>

<ResourceDictionary.MergedDictionaries>
hc:ThemeResources/
hc:Theme/
</ResourceDictionary.MergedDictionaries>

</Application.Resources>

<Application.Resources>

<ResourceDictionary.MergedDictionaries>
<hc:Theme Name="HandyTheme"/>
</ResourceDictionary.MergedDictionaries>

</Application.Resources>

It does not work.

I want to change some of the theme colors so I'm using the unofficial version (again -> 3.4.4), but I get the following error;

image

For some reason it states that it can't load the type from version 3.4.0.0!
It seems like a bug to me, but I could be wrong.
Any help appreciated

Steps to reproduce the bug

Add nuget packet HandyControls 3.4.4

Add to App.xaml

<Application.Resources>

<ResourceDictionary.MergedDictionaries>
hc:ThemeResources/
hc:Theme/
</ResourceDictionary.MergedDictionaries>

</Application.Resources>

Expected behavior

No response

Screenshots

No response

NuGet package version

None

IDE

Visual Studio 2022

Framework type

.Net 6.0

Windows version

Windows 11 (22000)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions