Issue #12 resolved

WebActivator try to load Unmanaged assembly and fail

Anonymous created an issue

Hi, I need to include into the bin folder an unmanaged code assembly "SqlServerSpatial.dll" to support spatial data in Azure.

When i add the assembly to the bin folder and try to run my app i am getting an exceltion that this assembly cannot be loaded.

Looks like WebActivator is trying to load the assembly.

Any way i can tell WebActivator not to load this assembly? this assembly should be loaded by another assembly and not by WebActivator.

Noam

Comments (2)

  1. davidebbo repo owner

    Not sure why you see this, as the code is already written to handle this, by ignoring all exceptions when loading assemblies (see ActivationManager.Assemblies property).

    What is the full stack of the exception that you're seeing?

  2. Log in to comment