Jump to content
  • Advertisement
Sign in to follow this  
JohnnyCode

Where to put native assemblies for ASP .NET website

Recommended Posts

I have once got it working but as I get older I am less of a flexible programmer and for sake of world I can not find out where to put native libraries that my C++/CLI and C# libraries in Bin directory of my web site depend on. My enviroment is IIS server that comes as native part of Windows 7 and which I have enabled, as well as debug server from my VS 2013 I am using.

What would be the directory where I can from my administration right safely copy the native assemblies I have my other parts dependant on,as for IIS and VS Debug Server?

I know native assemblies can bring down entire proccess if bogus or sabotating, and I am not searching for remote deployment option as internet is exclusively full of as for advice :(

Share this post


Link to post
Share on other sites
Advertisement

I believe you need to create a manifest for them, and then just put them where you put regular assemblies.

But I've never done this for IIS, only for other managed programs.

Also, make sure the PATH for the user/process that actually loads the assemblies, knows where to find them.

Finally, check the output of Dr Watson for loader messages, to see if there's more clues to why things don't load -- it may be that they are found, but not "proper" for some reason.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!