Dotnet.ProjInfo
0.9.0
See the version list below for details.
dotnet add package Dotnet.ProjInfo --version 0.9.0
NuGet\Install-Package Dotnet.ProjInfo -Version 0.9.0
<PackageReference Include="Dotnet.ProjInfo" Version="0.9.0" />
paket add Dotnet.ProjInfo --version 0.9.0
#r "nuget: Dotnet.ProjInfo, 0.9.0"
// Install Dotnet.ProjInfo as a Cake Addin #addin nuget:?package=Dotnet.ProjInfo&version=0.9.0 // Install Dotnet.ProjInfo as a Cake Tool #tool nuget:?package=Dotnet.ProjInfo&version=0.9.0
dotnet-proj-info
Features
- get properties
- get project to project references
- get fsc command line arguments
- list installed .NET Framework versions
- get references path of .NET asseblies like
System
,System.Data
Support both project sdk:
- dotnet/sdk style projects (slim proj, usually .net core)
- old sdk projects (verbose proj, usually .NET)
Works on mono and windows, and allow to specify the dotnet
or msbuild
to use
as Library
Used by:
- Fable compiler to parse fsproj projects with
dotnet fable
- FsAutocomplete (FSAC) to parse projects. That's the language server that add F# support in:
as .NET Cli tool
Add
<DotNetCliToolReference Include="dotnet-proj-info" Version="*" />
restore, and it use as dotnet proj-info
Support args of .NET cli (dotnet
), like:
-c
or--configuration
-f
or--framework
-r
or--runtime
See examples directory for a quick tutorial
USAGE: proj-info [--help] [--fsc-args] [--project-refs] [--get-property [<string>...]]
[--net-fw-references-path [<string>...]] [--installed-net-frameworks] [--framework <string>]
[--runtime <string>] [--configuration <string>] [--verbose] [--msbuild <string>]
[--dotnetcli <string>] [--msbuild-host <auto|msbuild|dotnetmsbuild>] [<string>]
PROJECT:
<string> the MSBuild project file
OPTIONS:
--fsc-args get fsc arguments
--project-refs get project references
--get-property, -gp [<string>...]
msbuild property to get (allow multiple)
--net-fw-references-path [<string>...]
list the .NET Framework references
--installed-net-frameworks
list of the installed .NET Frameworks
--framework, -f <string>
target framework, the TargetFramework msbuild property
--runtime, -r <string>
target runtime, the RuntimeIdentifier msbuild property
--configuration, -c <string>
configuration to use (like Debug), the Configuration msbuild property
--verbose, -v verbose log
--msbuild <string> MSBuild path (default "msbuild")
--dotnetcli <string> Dotnet CLI path (default "dotnet")
--msbuild-host <auto|msbuild|dotnetmsbuild>
the Msbuild host, if auto then oldsdk=MSBuild dotnetSdk=DotnetCLI
--help display this list of options.
Build
Clone repo.
Run:
dotnet build
To run tests:
dotnet test -v n
To create packages:
dotnet pack
will create packages in artifacts\nupkgs
pass /p:Version=1.2.3
to create a package with version 1.2.3
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.6 is compatible. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- FSharp.Core (>= 4.0.0.1)
-
.NETStandard 1.6
- FSharp.Core (>= 4.1.18)
- NETStandard.Library (>= 1.6.1)
- System.ValueTuple (>= 4.4.0)
-
.NETStandard 2.0
- FSharp.Core (>= 4.2.3)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Dotnet.ProjInfo:
Package | Downloads |
---|---|
dotnet-fable
Fable: F# to JS Compiler |
|
Microsoft.DocAsCode.Metadata.ManagedReference.FSharp
Package Description |
|
Dotnet.ProjInfo.Workspace
Package Description |
|
FcsWatch
Run standard fsharp codes in watch mode |
|
FcsWatch.Core
Run standard fsharp codes in watch mode |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Dotnet.ProjInfo:
Repository | Stars |
---|---|
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source
|
Version | Downloads | Last updated | |
---|---|---|---|
0.44.0 | 25,791 | 8/11/2020 | |
0.43.0 | 2,317 | 7/13/2020 | |
0.42.1 | 2,784 | 6/21/2020 | |
0.41.1 | 1,851 | 6/10/2020 | |
0.41.0 | 8,822 | 5/6/2020 | |
0.40.1 | 1,443 | 5/5/2020 | |
0.40.0 | 1,432 | 5/5/2020 | |
0.39.1 | 4,755 | 4/11/2020 | |
0.39.0 | 2,607 | 3/25/2020 | |
0.37.0 | 39,113 | 10/9/2019 | |
0.36.0 | 27,638 | 6/26/2019 | |
0.35.0 | 2,522 | 6/6/2019 | |
0.34.0 | 1,841 | 5/17/2019 | |
0.33.0 | 13,175 | 3/11/2019 | |
0.32.1 | 2,089 | 3/2/2019 | |
0.32.0 | 1,596 | 2/28/2019 | |
0.31.0 | 23,565 | 2/10/2019 | |
0.30.0 | 1,610 | 2/10/2019 | |
0.20.0 | 82,957 | 11/4/2018 | |
0.12.2 | 2,605 | 10/19/2018 | |
0.12.0 | 1,475 | 10/19/2018 | |
0.11.0 | 3,674 | 10/8/2018 | |
0.9.0 | 114,128 | 10/27/2017 | |
0.8.0 | 1,803 | 10/25/2017 | |
0.7.4 | 19,216 | 6/20/2017 | |
0.7.3 | 1,680 | 6/19/2017 | |
0.7.2 | 1,681 | 6/19/2017 | |
0.7.1 | 1,624 | 6/15/2017 | |
0.7.0 | 1,581 | 6/14/2017 | |
0.6.0 | 2,595 | 4/12/2017 | |
0.5.0 | 4,195 | 3/17/2017 |