Skip to content

Failed to create new WPF application #332

Open

Description

@diluculo

I created a new .NET5.0 WPF application and installed GeminiWpf 1.0.37-beta Nuget package. I added a couple of additional files and modified some codes by the instructions described in the Getting Started section. But the app can't run because of missing dlls:

ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'Xceed.Wpf.AvalonDock, Version=3.6.2.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4'.

So I added the following dlls to the debug folder and verified the app is running.

  • Xceed.Wpf.AvalonDock.dll v3.6.0.0
  • Xceed.Wpf.AvalonDock.Themes.VS2013.dll v3.6.0.0

Please tell me how to solve this problem. Is it because Xceed.Wpf.AvalonDock was depreceted?

Activity

  1. tgjones commented on Oct 26, 2021

    @tgjones
    Owner

    Hi @diluculo, I just tried creating a new .NET 5.0 WPF application with Gemini and it worked okay for me. Could you share a zip of your new application, so I can see if something is different from mine?

  2. diluculo commented on Oct 27, 2021

    @diluculo
    ContributorAuthor

    Just now, I tried again. Yes, you are right. I have no problems creating a new .NET 5.0 WPF app with GeminiWpf v1.0.37-beta.

    @tgjones Thanks again.

  3. diluculo commented on Oct 30, 2021

    @diluculo
    ContributorAuthor

    I used Paket on the failed project to restore the nuget packages, but it doesn't seem to recognize that the Xceed dlls are needed.

    So, I tried to upgrade Dirkster.AvalonDock.Themes.VS2013 to v4.60.0 and modified codes little bit according to this. It works fine without Xceed dlls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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