HDF.Pinvoke and .Net Framework 4.0

I am writing an application, in C#, which now uses HDF.Pinvoke. I need to
target .Net Framework 4.0, but I can only get this to work if I target .Net
Framework 4.5, can I ask is there a way round this ?

You can set the target .NET Framework in the Properties
of the Visual Studio Project(s) to anything you like.
I haven’t tried .NET 1.0, but I’d be somewhat optimistic
that .NET 4.0 will build and work just fine.

G.

···

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf Of Chris Hargreaves
Sent: Thursday, September 15, 2016 5:48 PM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] HDF.Pinvoke and .Net Framework 4.0

I am writing an application, in C#, which now uses HDF.Pinvoke. I need to target .Net Framework 4.0, but I can only get this to work if I target .Net Framework 4.5, can I ask is there a way round this ?

Re: HDF.Pinvoke and .Net Framework 4.0

Thanks for your reply Gerd. I was trying to use the HDF.PInvoke.dll
directly from the NuGet gallery, which I believe is built for .Net 4.5.
When I fetched the code and build the HDF.PInvoke.dll myself for .Net 4.0
all was well.

···

On Fri, Sep 16, 2016 at 6:00 PM, <hdf-forum-request@lists.hdfgroup.org> wrote:

Send Hdf-forum mailing list submissions to
        hdf-forum@lists.hdfgroup.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_
lists.hdfgroup.org

or, via email, send a message with subject or body 'help' to
        hdf-forum-request@lists.hdfgroup.org

You can reach the person managing the list at
        hdf-forum-owner@lists.hdfgroup.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Hdf-forum digest..."

Today's Topics:

   1. HDF.Pinvoke and .Net Framework 4.0 (Chris Hargreaves)
   2. Re: HDF.Pinvoke and .Net Framework 4.0 (Gerd Heber)

----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Sep 2016 23:47:40 +0100
From: Chris Hargreaves <cph@alporthut.com>
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] HDF.Pinvoke and .Net Framework 4.0
Message-ID:
        <CAHFJtzAxGhtXaxoiP85g3bXjE0LuJJme9Q4EmrTqmYwPPvX9pQ@mail.
gmail.com>
Content-Type: text/plain; charset="utf-8"

I am writing an application, in C#, which now uses HDF.Pinvoke. I need to
target .Net Framework 4.0, but I can only get this to work if I target .Net
Framework 4.5, can I ask is there a way round this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.
hdfgroup.org/attachments/20160915/616783ca/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 16 Sep 2016 12:04:34 +0000
From: Gerd Heber <gheber@hdfgroup.org>
To: HDF Users Discussion List <hdf-forum@lists.hdfgroup.org>
Subject: Re: [Hdf-forum] HDF.Pinvoke and .Net Framework 4.0
Message-ID:
        <BLUPR17MB0113D46BCD8826FB8FD154D7A4F30@BLUPR17MB0113.
namprd17.prod.outlook.com>

Content-Type: text/plain; charset="utf-8"

You can set the target .NET Framework in the Properties
of the Visual Studio Project(s) to anything you like.
I haven?t tried .NET 1.0, but I?d be somewhat optimistic
that .NET 4.0 will build and work just fine.

G.

From: Hdf-forum [mailto:hdf-forum-bounces@lists.hdfgroup.org] On Behalf
Of Chris Hargreaves
Sent: Thursday, September 15, 2016 5:48 PM
To: hdf-forum@lists.hdfgroup.org
Subject: [Hdf-forum] HDF.Pinvoke and .Net Framework 4.0

I am writing an application, in C#, which now uses HDF.Pinvoke. I need to
target .Net Framework 4.0, but I can only get this to work if I target .Net
Framework 4.5, can I ask is there a way round this ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hdfgroup.org/pipermail/hdf-forum_lists.
hdfgroup.org/attachments/20160916/f11b5ff1/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@lists.hdfgroup.org
http://lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org

------------------------------

End of Hdf-forum Digest, Vol 87, Issue 11
*****************************************