I'm working on my .net web application that need to execute some methods from unmanaged library. I used amazon web services for deploy. I found the path, where my application placed after deploy:
C:\inetpub\wwwroot\
It has bin folder with my unmanaged dll:
C:\inetpub\wwwroot\bin\Assimp32.dll
To allow my application use unmanaged dll's, I added this folder to environmental variable PATH. Here is my PATH variable:
"C:\inetpub\wwwroot\bin"
I set this variable every time in my "global.asax.cs":
protected void Application_Start(object sender, EventArgs e)
{
System.Environment.SetEnvironmentVariable("PATH", Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "bin"));
}
But I got not found error: "The specified module could not be found. (Exception from HRESULT: 0x8007007E)"
I made all steps, described here
Any ideas to fix it? :(