Replies: 5 comments
-
The work around is to pull it down as a tool and use the reference directive to pull it in. |
Beta Was this translation helpful? Give feedback.
-
@phillipsj In this case your only option is using Unless the WinScp package author changes the package to conform to the standard NuGet conventions it's not much we could do about it at the moment :/ What we theoretically could do in the future, that might be usable for other packages, is to add a parameter to explicitly include files in a NuGet package. #addin nuget:?package=Foo&ref=bar/baz.dll&ref=qux/bar.dll |
Beta Was this translation helpful? Give feedback.
-
@patriksvensson Now that sounds like a cool feature, that way users could "opt-in" to load those if you know they can use it. |
Beta Was this translation helpful? Give feedback.
-
Though, preferably with .NET Core hopefully soon going mainstream, ideally addins should use correct framework monikers. |
Beta Was this translation helpful? Give feedback.
-
@devlead @patriksvensson Cool, you all can close this if you want, its fine with me. |
Beta Was this translation helpful? Give feedback.
-
When trying to using NuGet packages that don't use the "lib/net45" content location with the AddIn directive, I am receiving the following error:
How to recreate:
Add the following AddIn directive
#tool nuget:?package=WinSCP
Run build.ps1 and receive the error.
There are several libraries that do not use the standards, this is just one example.
Beta Was this translation helpful? Give feedback.
All reactions