0

Hi fellow programmers,

I'm creating a ControlLibrary for future project's that uses the amazing MaterialDesignXaml library. In this ControlLib I use the MaterialDesignThemes.dll that contains several styled controls, resources and classes.

Now my problem is that I need to use the same dll's in the real application (sae sollution for now). If I want to use the mentioned control library in this project (as project reference) I always get this error: Dll Error in Application Project .

I understand the problem the compiler has with this, since It cannot check if two refrences (from seperate projects in the sollution) are the same dll. But how can I fix this?

The strange thing is that the designer complains like in the screenshot, but the application runs just fine...

I'm using TortoiseSVN for Version Management, maybe this has to do something with it?

Any idea's?

Nick van K
  • 15
  • 5
  • Is target framework same for your application and for the MaterialDesignXaml library? – user2250152 Nov 07 '17 at 11:31
  • The library and application are the same, but I'm not sure how to find the framework of the MaterialDesign dll – Nick van K Nov 07 '17 at 12:30
  • Not sure if I checked the correct Git repository [MaterialDesignXaml](https://github.com/ButchersBoy/MaterialDesignInXamlToolkit/blob/master/MaterialDesignThemes.Wpf/MaterialDesignThemes.Wpf.csproj) but the target framework is v4.5. – user2250152 Nov 07 '17 at 13:25
  • I will test to set my projects to V4.5 too, thanks for the tip! – Nick van K Nov 07 '17 at 13:52

0 Answers0