dotnet-proj-info
0.9.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package dotnet-proj-info --version 0.9.0
NuGet\Install-Package dotnet-proj-info -Version 0.9.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="dotnet-proj-info" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dotnet-proj-info --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: dotnet-proj-info, 0.9.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install dotnet-proj-info as a Cake Addin #addin nuget:?package=dotnet-proj-info&version=0.9.0 // Install dotnet-proj-info as a Cake Tool #tool nuget:?package=dotnet-proj-info&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 is compatible. netcoreapp1.1 was computed. netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 1.0
- Argu (>= 3.7.0)
- Dotnet.ProjInfo (>= 0.9.0)
- FSharp.Core (>= 4.2.3)
- Microsoft.NETCore.App (>= 1.0.5)
- System.ValueTuple (>= 4.4.0)
-
.NETCoreApp 2.0
- Argu (>= 3.7.0)
- Dotnet.ProjInfo (>= 0.9.0)
- FSharp.Core (>= 4.2.3)
- Microsoft.NETCore.App (>= 2.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.