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

Failed to create new WPF application #332

Open
diluculo opened this issue Oct 18, 2021 · 3 comments
Open

Failed to create new WPF application #332

diluculo opened this issue Oct 18, 2021 · 3 comments

Comments

@diluculo
Copy link
Contributor

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?

@tgjones
Copy link
Owner

tgjones commented Oct 26, 2021

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?

@diluculo
Copy link
Contributor Author

diluculo commented Oct 27, 2021

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.

@diluculo diluculo reopened this Oct 30, 2021
@diluculo
Copy link
Contributor Author

diluculo commented Oct 30, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants