Eric Schultz wrote: > > When I debug in Visual Studio, IIS Express copies all of the > Assemblies in my "bin" directory to a folder into the "AppData\Temporary > ASP.Net Files" folder. Unfortunately, it does not copy the > System.Data.SQLite.dll.config file or the x86 and amd64 subfolders of bin > which contain my interop files. >
I've seen this behavior before as well. This appears to be a limitation of Visual Studio. Ideally, it *should* copy the configuration file and all the sub-folders as well. > > Is there any way so the preloading base directory is from where the > System.Data.SQLite.dll file originally came from when I can't set the > environment variables or have a config file in the same folder as the > executing assembly (which I can't in this case). > Why can't you set environment variables? The currently supported workaround for this limitation of Visual Studio is to use the "PreLoadSQLite_BaseDirectory" environment variable (or configuration file setting). Of course, I'm always open to alternative suggestions on how to work around issues like these in a portable and robust way. -- Joe Mistachkin _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users