Rename 'Fluent.dll'?

Oct 15, 2010 at 10:29 AM



I have another dll in my project called 'Fluent.dll'. How can I rename 'Fluent.dll' to something like 'FluentRibbon.dll'?


I downloaded the source, changed the namespace, and rebuilt. I then had errors throughout my solution due to the namechange. How can I JUST change the actual dll filename but nothing else?



Oct 15, 2010 at 10:35 AM
Edited Oct 15, 2010 at 10:36 AM

Our styles use URLs with 'Fluent' in the paths.
You should:

1) Change name of the other dll :)
2) Try to put it in the GAC


Oct 15, 2010 at 11:43 AM

Surely there must be some way? I've changed JUST the 'assembly name' to 'FluentRibbon' and it compiles fine as FluentRibbon.dll. I then remove the old 'Fluent' reference from my application and replace it with 'Fluent Ribbon'. I then change this line: xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"  to this: xmlns:Fluent="clr-namespace:Fluent;assembly=FluentRibbon". I also changed the 'app.xaml' styles reference to FluentRibbon.


It won't compile though! It shows this error:



Cannot create instance of 'RibbonTabItem' defined in assembly 'Resources, Version=, Culture=neutral, PublicKeyToken=3e436e32a8c5546f'. Exception has been thrown by the target of an invocation. 


How can I fix this?!



Oct 18, 2010 at 9:06 AM

Change all URIs in Fluent project.