Источник:
http://olondono.blogspot.com/2007/12...ng-system.html
==============
TypeForwardedTo
using System.Runtime.CompilerServices;
[assembly:TypeForwardedTo(typeof(DestLib.TypeA))]
History:
My application has a reference to the
ClassLibrary1.dll, but, I had moved the code to another class library (
ClassLibrary2.dll). So, I only need to add the
TypeForwardedTo attribute and the reference to the
ClassLibrary2.dll in the new
ClassLibrary1.dll assembly. After that, the application runs well without recompile it.
NOTE: we must deploy the
ClassLibrary1.dll and
ClassLibrary2.dll together.
Источник:
http://olondono.blogspot.com/2007/12...ng-system.html