So many replies! Hard to reply to them all, but I understand the issue now. I didn't know it was native.
>> Their beliefs do not impact how the code needs to be deployed in order to function properly. It does because it's my director. For us to deploy DLLs they "have to be added as a reference". They do not allow for deploy scripts to push DLLs to folders unless part of the project. But since it is an unmanaged DLL, I'll just tell them "either drop SQLite or let me copy as content". I'm sure they'll let me keep SQLite =) >> So the company does not use any purely native DLLs in their .NET apps? Correct, the company has absolutely 0 DLLs required to copy as content. >> Adding the non-mixed mode assembly to the GAC is problematic and not recommended. Okay, I won't add it to the GAC then. I'll just argue for my point of having it in a Lib folder and copy as content. Thank you for your help! I'll now be signing off. Brad -----Original Message----- From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Joe Mistachkin Sent: Thursday, July 21, 2011 7:30 PM To: 'General Discussion of SQLite Database' Subject: Re: [sqlite] Cannot add interop assembly Corr > > Yeah that is what I did in the interim to get it to work. > Ok, good. > > The issue being my company does not believe in the DLLs being in a lib folder inside a project. > Their beliefs do not impact how the code needs to be deployed in order to function properly. > > Instead they have a Library folder at the same level of the solution file, and everything is added by ref. > That will work for managed DLLs; however, the SQLite.Interop.dll is a purely native DLL. It cannot be added as a managed reference because it does not contain any managed code or metadata. > > So unless I add it by ref I have to break company coding standards. > So the company does not use any purely native DLLs in their .NET apps? > > Unless it is in the bin, SQLite errors saying it cannot find the interop. > Yes, this is why I suggested that it be added to the project as a "content" file and copied into the "bin" folder for deployment purposes. > > Guess I could add it to the GAC but that also breaks my companys coding standards. > Adding the non-mixed mode assembly to the GAC is problematic and not recommended. > > Isn't it odd that I cannot just add it as a ref? > No, it's not odd, it's a pure native DLL. Adding a reference requires the DLL to be a managed assembly. -- Joe Mistachkin _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users