Closed Prev-I closed 5 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 .
From command line this will work, but I'm not aware of a way to write this option inside the packages.config
You can now download https://www.nuget.org/packages/SevenZipSharp.Interop.NoReferences/18.5.0
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?
What is the message you're getting? I don't see any dependencies to a .net framework
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.
Can this may be the cause of this error? https://stackoverflow.com/questions/34463262/nugets-install-in-visual-studio-2015/38221710#38221710
I'll close this issue as it has no activity for a long time. Feel free to reopen if needed.
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?