I have a solution with multiple projects and the paket.references file has various groups. I want to add a dependency to a project using a Paket group and I run
paket.exe add Hopac -g Server. It looks like the reference is added to the project's reference file but the app fails to build complaining that the namespace in the package was not found.
I am still not very clear about how groups work, could someone shed some light on what I am doing wrong?
when i do
#paket.dependencies framework: net461 redirects: on source https://nuget.org/api/v2 nuget FSharp.Core redirects: force ... .paket\paket.exe install --generate-load-scripts --load-script-framework net461 --load-script-type fsx
Java.Interop,Mono.Android,System.Windows.Browser,Xamarin.iOS, which are not on my
My current workaround is to uncomment manually in generated loadfile.
How to make it right ?
paket.referencesfile near the project file? https://fsprojects.github.io/Paket/img/paket-overview.png
This task seems to say it creates a 'temporary nuget.config which maybe does the credential-fu?, but it doesn't seem to get passed down to paket correctly.
- task: DotNetCoreCLI@2 displayName: 'Restore' inputs: command: restore
a package that i am referencing contains a .targets project that is getting transitively included via paket.restore.targets, but i need to prevent that so i can customize the work being done in that target. anyone know how to do that?
this sorta sounds like disabling auto-restore for a specific project, but i actually want all the other paket auto-restore functionality -- i just want to prevent the inclusion targets from dependencies.
anyone know how to do this?
Hi, trying to figure out if there is a way to keep third party dependencies "sealed" within a project. There might be a possibility that I don't understand dependency chain of net core, but then I will learn something.
What I would like to achieve is that ProjectA should know nothing about Npgsql but
still be able to use ClassX.GetConnectionString().
Is this possible to achieve?
Hi. I'm using https://www.nuget.org/packages/Serilog.Sinks.Console/3.1.2-dev-00824 in a netcoreapp3.0 project and even though that prerelease version should only depend on Serilog (for netstandard2.0), the lock file contains this:
serilog.sinks.console (3.1.2-dev-00824) Serilog (>= 2.8) System.Console (>= 4.3) System.Runtime.InteropServices (>= 4.3) System.Runtime.InteropServices.RuntimeInformation (>= 4.3)
which looks exactly like .NETCoreApp 1.1 dependencies listed on Nuget.org. What am I missing here?