I recently started to encounter exceptions in the WPF designer of Visual Studio 2010, it seems because of log4net. If I just create my project, the XAML file will correctly display in the designer. Then, as soon as I start clicking on the controls to go into XAML, this exception is thrown quickly:
System.Reflection.Adds.UnresolvedAssemblyException
Type universe cannot resolve assembly: log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821.
at System.Reflection.Adds.AssemblyProxy.GetResolvedAssembly()
at System.Reflection.Adds.AssemblyProxy.GetHashCode()
continues...
The problem is removed only when the log4net link is removed. This is the second project to demonstrate this behavior. Has anyone else seen this and / or found a fix?
Note. I am using .NET 4 Full (not a client profile) and I switched the specific version to the log4net T / F link to no avail.