I was able to accomplish this by adding the dlls as existing items and setting build action to Content and Copy to Output as Copy Always.
mjt1987 wrote > Thanks for your reply Gerd. I do know about adding the unmanaged DLL's to > my PATH, but I was trying to see if it is possible to get my app to run on > a clients machine without that extra step. I would like them to just run > the installer and be able to run the app. > Gerd Heber wrote >> The unmanaged DLLs (szip, zlib, hdf5dll, hdf5_hldll) need to be in a >> directory in >> your PATH environment. If you are using the standard binaries from >> >> http://www.hdfgroup.org/ftp/HDF5/current/bin/windows/ >> >> they are installed in C:\Program Files\HDF Group\HDF5\ >> <VERSION> >> \bin. >> You can add that to the PATH environment variable or copy them to another >> directory >> in PATH. >> >> G. >> >> -----Original Message----- >> From: Hdf-forum [mailto: >> hdf-forum-bounces@ >> ] On Behalf Of mjt1987 >> Sent: Monday, December 31, 2012 5:50 PM >> To: >> hdf-forum@ >> Subject: [Hdf-forum] HDF5DotNet Visual Studio 2010 dll issue >> >> I wrote an application that uses the HDF5DotNet wrapper and I am having >> trouble running it on other machines after publishing. I think it has >> something to do with the other four dlls (szip, zlib, hdf5dll, >> hdf5_hldll) >> not being found. Is there a way to include them so the user can simply >> install the app without adding them separately? >> >> >> >> -- >> View this message in context: >> http://hdf-forum.184993.n3.nabble.com/HDF5DotNet-Visual-Studio-2010-dll-issu >> e-tp4025748.html -- View this message in context: http://hdf-forum.184993.n3.nabble.com/HDF5DotNet-Visual-Studio-2010-dll-issue-tp4025748p4025757.html Sent from the hdf-forum mailing list archive at Nabble.com. _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
