tgjones / gemini

Gemini is an IDE framework similar in concept to the Visual Studio Shell. It uses AvalonDock and has an MVVM architecture based on Caliburn Micro.
Other
1.1k stars 298 forks source link

Failed to create new WPF application #332

Open diluculo opened 3 years ago

diluculo commented 3 years ago

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.

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

tgjones commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.