I have problems with aspose.pdf ans IocContainer StructureMap.
in forms applicatin I use "Business" Library
IocContainer is configured like this:
config.Scan(scanner =>
{
scanner.TheCallingAssembly();
scanner.Assembly("Interface");
//Here rais the error!!!!!!!!!!!!!!!!!!!
scanner.Assembly("Business");
scanner.LookForRegistries();
scanner.WithDefaultConventions();
scanner.LookForRegistries();
});
My Bussiness looks like this:
namespace Business
{
public class PdfManager : IPdfManager
{
private AsposeManager _asposeManager;
public PdfManager()
{
_asposeManager = new AsposeManager();
}
public bool Create()
{
return _asposeManager.CreatePdf();
}
}
}
my extra lib PdfAspose is quit simble:
namespace PdfAspose
{
public class AsposeManager
{
public bool CreatePdf()
{
//uncomment and eror will rais
var pdfConv = new Aspose.Pdf.Generator.Pdf();
return true;
}
}
}
Build is with no error but runtime I get error on yellow:
file or assambly "Business" or a dependency not found....
if green line I comment out no error appear.
I would send a examble project-zip but upload give me a