Problem to add HDF5.NET wrapper (dll) to vs 2008

Hi All,

This is my setup:
# Win 7 x64 , SP1
# Visual Studio 2008, SP1

I want to change my VB.NET application from saving the data in SQL to HDF5
instead. I tried to fallow the guides and see all relevant topics in the
HDF5 forum, but my issue remain.

I am not able to add the required dll files to the project.

Error_1: Project --> Properties --> Add preferences / When I am adding the
HDF5DotNet.dll (1.8.8) no error shows up but the path to the file shows
"The system cannot find the reference specified" even though all the other
referenced dll:s are in the same folder.

Error_2: Project --> Properties --> Add preferences / When trying to add
independly the 1.8.8 dll:s to the project

hdf5_hldll.dll
hdf5dll.dll
szip.dll
zlib.dll

The fallowing popup screen is coming: "xxx.dll could not be added. Please
make sure the file is accessible, and that it is a valid assembly or COM
component." I mean the dll should work undependly VS language?

Can somebody give me a step by step instruction?
(Stucked even before trying the class/lib out.)

BR
//Lukas Karlsson

Lukas, all you need is to add a reference to HDF5DotNet.dll .

No references are needed for the unmanaged DLLs (hdf5_hldll.dll etc.)

I don't have vs2008, but 2010 should be pretty similar.

In the 'Add Reference' dialog, are you using the 'Browse'

tab to locate HDF5DotNet.dll?

Are you sure you are building against .NET 4 and your architecture

is x64?

Best, G.

···

From: hdf-forum-bounces@hdfgroup.org [mailto:hdf-forum-bounces@hdfgroup.org]
On Behalf Of Lukas Karlsson
Sent: Wednesday, March 28, 2012 3:13 AM
To: hdf-forum@hdfgroup.org
Subject: [Hdf-forum] Problem to add HDF5.NET wrapper (dll) to vs 2008

Hi All,

This is my setup:
# Win 7 x64 , SP1
# Visual Studio 2008, SP1

I want to change my VB.NET application from saving the data in SQL to HDF5
instead. I tried to fallow the guides and see all relevant topics in the
HDF5 forum, but my issue remain.

I am not able to add the required dll files to the project.

Error_1: Project --> Properties --> Add preferences / When I am adding the
HDF5DotNet.dll (1.8.8) no error shows up but the path to the file shows "The
system cannot find the reference specified" even though all the other
referenced dll:s are in the same folder.

Error_2: Project --> Properties --> Add preferences / When trying to add
independly the 1.8.8 dll:s to the project

hdf5_hldll.dll
hdf5dll.dll
szip.dll
zlib.dll

The fallowing popup screen is coming: "xxx.dll could not be added. Please
make sure the file is accessible, and that it is a valid assembly or COM
component." I mean the dll should work undependly VS language?

Can somebody give me a step by step instruction?
(Stucked even before trying the class/lib out.)

BR
//Lukas Karlsson

I'm not sure why you're having the Error 1 problem. But don't add the c hdf & *zip libs to the project. They should, however be in the build folder and/or wherever you install/execute from.

···

From: hdf-forum-bounces@hdfgroup.org [mailto:hdf-forum-bounces@hdfgroup.org] On Behalf Of Lukas Karlsson
Sent: Wednesday, March 28, 2012 4:13 AM
To: hdf-forum@hdfgroup.org
Subject: [Hdf-forum] Problem to add HDF5.NET wrapper (dll) to vs 2008

Hi All,

This is my setup:
# Win 7 x64 , SP1
# Visual Studio 2008, SP1

I want to change my VB.NET<http://VB.NET> application from saving the data in SQL to HDF5 instead. I tried to fallow the guides and see all relevant topics in the HDF5 forum, but my issue remain.

I am not able to add the required dll files to the project.

Error_1: Project --> Properties --> Add preferences / When I am adding the HDF5DotNet.dll (1.8.8) no error shows up but the path to the file shows "The system cannot find the reference specified" even though all the other referenced dll:s are in the same folder.

Error_2: Project --> Properties --> Add preferences / When trying to add independly the 1.8.8 dll:s to the project

hdf5_hldll.dll
hdf5dll.dll
szip.dll
zlib.dll

The fallowing popup screen is coming: "xxx.dll could not be added. Please make sure the file is accessible, and that it is a valid assembly or COM component." I mean the dll should work undependly VS language?

Can somebody give me a step by step instruction?
(Stucked even before trying the class/lib out.)

BR
//Lukas Karlsson

________________________________
This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender.
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Exelis Inc. The recipient should check this e-mail and any attachments for the presence of viruses. Exelis Inc. accepts no liability for any damage caused by any virus transmitted by this e-mail.