Resolved Can I use it even though the Frameworks are different?

aaaron123@roadrunner.com

Well-known member
Joined
Jan 23, 2011
Messages
151
Programming Experience
10+
I want to try ExifLibNet
which I can get from:
I can get it with:
<PackageReference Include="ExifLibNet" Version="2.1.4" />
But it targets:
<TargetFramework>netcoreapp3.0</TargetFramework>
All the projects in my solution target:
<TargetFramework>net6.0-windows</TargetFramework>

If I download it do I get the entire code or just a .DLL or .EXE?

Can I use it even though the Frameworks are different?

BTW. When I typed this I noticed the spell check was not working.
I believe it workd before.No?
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,617
Location
Norway
Programming Experience
10+
Project > Manage Nuget Packages... then search for ExifLibNet and install it from there.
<TargetFramework>netcoreapp3.0</TargetFramework>
Not sure where you get that from, the Nuget page says the library is .Net Standard 1.3, which is compatible with all .Net/.Net Core versions and .Net Framework 4.6-4.8.
 

aaaron123@roadrunner.com

Well-known member
Joined
Jan 23, 2011
Messages
151
Programming Experience
10+
Project > Manage Nuget Packages... then search for ExifLibNet and install it from there.

Not sure where you get that from, the Nuget page says the library is .Net Standard 1.3, which is compatible with all .Net/.Net Core versions and .Net Framework 4.6-4.8.
Good catch. I got it from a included test project.

The library has
<TargetFramework>netstandard1.3</TargetFramework>

Thanks

Is there a site that I can use to figure out what .Nets are compatable with net6.0-windows
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,617
Location
Norway
Programming Experience
10+
A .Net 6 application can consume any .Net Standard version library and likely older .Net and .Net Core libraries, but not .Net Framework libraries. A .Net Framework library recompiled for .Net Standard, if it can do that, will work too.
.Net Standard tables here: .NET Standard | Common APIs across all .NET implementations
 
Top Bottom