depman-fsproj
0.2.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global depman-fsproj --version 0.2.2
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local depman-fsproj --version 0.2.2
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=depman-fsproj&version=0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package depman-fsproj --version 0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DependencyManager.FsProj
This nuget package enables loading .fsproj
files in .fsx
scripts.
It extends #r
syntax with fsproj
dependency manager, so you can do #r "fsproj: PATH_TO_FSPROJ.fsproj"
and it will load all references and files from the project.
Sample:
#r "fsproj: ./test/test.fsproj"
let t = test.Say.hello "Chris"
printfn "RESULT: %s" t
Installation
If you are using powershell you can use following script to install dependency manager to current directory. Probably a similar script for linux shell will also work.
$workdir=".workdir"
$outdir=".depman"
dotnet new classlib -o $workdir -n depman
dotnet add $workdir package DependencyManager.FsProj
dotnet publish $workdir -o $outdir
Remove-Item -Recurse $workdir
After that you can call dotnet fsi --compilertool:./.depman script.fsx
or add following line to vscode settings.json.
"FSharp.fsiExtraParameters": [
"--compilertool:./.depman"
]
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.