views:

132

answers:

0

I am totally confused with the following error.

I have my application which works perfectly fine and uses log4net for logging.

I will now be implementing my own updater system. And I want it to be part of my solution.

I have added a new WPF Application to my Solution and when I try to edit the main window or any other window in that project I get the following error message:

/Microsoft.VisualStudio.Xaml;Component/MS/Internal/Designer/PropertyEditing/Resources/StylesCore.Constants.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. 
Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. 
The system cannot find the file specified.  Error at object 'ResourceDictionary_2' in markup file 'Microsoft.VisualStudio.Xaml;component/MS/Internal/Designer/PropertyEditing/Resources/StylesCore.xaml.

Anyone have any suggestions?

EDIT: The designer works when i reference log4net.dll in the new project, but why do i need to reference it in every project?