Unreferenced assemblies

Oct 27, 2010 at 12:58 PM
Edited Oct 27, 2010 at 1:25 PM

NEVERMIND, I've found it was my mistake not running in the appropriate path. It does load the assembly and the class. 


I'm new to Unity, I've started by adding registrations into the config.

Will Unity load an assembly if it is specified in the <assembly> element of the config and that assembly is not referenced at design time?

I get "The type name or alias testunity could not be resolved. Please check your configuration file and verify this type name."

  <unity xmlns="http://schemas.microsoft.com/practices/2010/unity">
    <namespace name="Testing"/>
    <assembly name="Testing" />    
      <register type="testunity"/>

Testing.testunity is a class defined in Testing assembly(Testing.dll) that is not referenced at design time. How do you handle such case? 


Oct 28, 2010 at 8:12 AM

See suggestions given in this thread.


Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.