Issue #12 resolved

WebActivator try to load Unmanaged assembly and fail

Anonymous avatarAnonymous 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

    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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.