D
Dan Holmes
i have two classes that throw when GetTypes() is executed. The
following are their signatures.
public sealed class ProductService : IAF.TransactionComponent,
IProductService
public sealed class CategoryService :
IAF.Configuration.ConfigurableComponent, ICategoryService
This assembly references the assembly where the interfaces are defined.
public interface ICategoryService
public interface IProductService : IProductServiceBase
public interface IProductServiceBase
This is the exception text
..\IVS.WMS.Product.Server.dll => Could not load type
'IVS.WMS.IProductServiceBase' from assembly 'IVS.WMS.Product.Common,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load type 'IVS.WMS.ICategoryService' from assembly
'IVS.WMS.Product.Common, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'.
System.Reflection.ReflectionTypeLoadException: Unable to load one or
more of the requested types. Retrieve the LoaderExc
eptions property for more information.
This is the code that caused it.
Assembly a = Assembly.LoadFrom("IVS.WMS.Product.Server.dll");
Type []t = a.GetTypes(); //this line
I have been stuck on this for at least 2 weeks. I will be happy to mail
anything to anyone if they so desire to help in that way.
dan
following are their signatures.
public sealed class ProductService : IAF.TransactionComponent,
IProductService
public sealed class CategoryService :
IAF.Configuration.ConfigurableComponent, ICategoryService
This assembly references the assembly where the interfaces are defined.
public interface ICategoryService
public interface IProductService : IProductServiceBase
public interface IProductServiceBase
This is the exception text
..\IVS.WMS.Product.Server.dll => Could not load type
'IVS.WMS.IProductServiceBase' from assembly 'IVS.WMS.Product.Common,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Could not load type 'IVS.WMS.ICategoryService' from assembly
'IVS.WMS.Product.Common, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'.
System.Reflection.ReflectionTypeLoadException: Unable to load one or
more of the requested types. Retrieve the LoaderExc
eptions property for more information.
This is the code that caused it.
Assembly a = Assembly.LoadFrom("IVS.WMS.Product.Server.dll");
Type []t = a.GetTypes(); //this line
I have been stuck on this for at least 2 weeks. I will be happy to mail
anything to anyone if they so desire to help in that way.
dan