No-touch Deployment
I'm doing a no-touch deployment of my windows form application and when I access the URL of the app, I get "DLL not found" exception.
I'm suspecting because I use [DLLImport()] to access the DLL (I put the DLL on the same directory as the app). And when the app is downloaded, that specific DLL is not downloaded.
Is that the case?
I can't add the DLL as a reference in my project because it's not a valid COM; is there a way to make this work?
Thanks a bunch.
[517 byte] By [
alphaoide] at [2007-11-11 8:49:47]

# 1 Re: No-touch Deployment
I don't think no-touch deployment supports unmanaged DLLs. One option is to create an installer to deploy unmanaged code to your users' machines, then use no-touch deployment for only the managed portion of the app. Or, you could catch the "DLL not found" exception, use WebClient.Download to get the DLL from your Web server, then retry the operation that requires the DLL.
Also, be aware that using unmanaged code will cause your app to require FullTrust on the client.
# 2 Re: No-touch Deployment
Okay, thanks for the confirmation. I'm just gonna hand over the unmanaged dll to users. And yeah, I already set the users machine's permission to full trust for intranet zone.