luuksommers / SevenZipSharp.Interop

Other
36 stars 10 forks source link

Using this package with other version of SevenZipSharp #5

Closed Prev-I closed 5 years ago

Prev-I commented 6 years ago

I've tried to use this package with Squid-Box.SevenZipSharp. Due to dependencies included inside package it keep installing the original sevenZipSharp package.

There is a way to use your interop packages with forked packages?

luuksommers commented 6 years ago

In nuget you can choose the option ignore dependencies with Install-Package <package name> -IgnoreDependencies, the package itself only adds the native dlls. Will this work for you?

On Tue, Oct 23, 2018 at 12:31 PM Prev-I notifications@github.com wrote:

I've tried to use this package with Squid-Box.SevenZipSharp. Due to dependencies included inside package it keep installing the original sevenZipSharp package.

There is a way to use your interop packages with forked packages?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/luuksommers/SevenZipSharp.Interop/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIYH608vxXSx8cigDAYN3-PvONzKt3jks5unu_4gaJpZM4X1Pp6 .

Prev-I commented 6 years ago

From command line this will work, but I'm not aware of a way to write this option inside the packages.config

luuksommers commented 6 years ago

You can now download https://www.nuget.org/packages/SevenZipSharp.Interop.NoReferences/18.5.0

Prev-I commented 6 years ago

The idea sound right to me, but when I've tried to install on a solution builded with DotNet 4.5.2 it fails saying that the package don't contain data compatible with that framework version.

What is the minimum framework version? could it be lowered to 4.5.X?

luuksommers commented 6 years ago

What is the message you're getting? I don't see any dependencies to a .net framework

Prev-I commented 6 years ago

When I execute Install-Package on a project targheting Dot.Net 4.5.2 The installation fail with this error:

The package 'SevenZipSharp.Interop.NoReferences 18.5.0' could not be installed. You are attempting to install in a project intended for '.NETFramework, Version = v4.5.2', but the package does not contain assembly references or data files compatible with the framework. For more information, contact the author of the package.

Prev-I commented 6 years ago

Can this may be the cause of this error? https://stackoverflow.com/questions/34463262/nugets-install-in-visual-studio-2015/38221710#38221710

luuksommers commented 5 years ago

I'll close this issue as it has no activity for a long time. Feel free to reopen if needed.