Dotnet.ProjInfo 0.9.0

There is a newer version of this package available.
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                
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.ProjInfo" Version="0.9.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dotnet.ProjInfo --version 0.9.0                
#r "nuget: Dotnet.ProjInfo, 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.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                

Build status Build Status

dotnet-proj-info

  • as library: Dotnet.ProjInfo NuGet
  • dotnet cli tool: dotnet proj-info NuGet

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:

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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,766 8/11/2020 0.44.0 is deprecated because it is no longer maintained.
0.43.0 2,312 7/13/2020
0.42.1 2,779 6/21/2020
0.41.1 1,848 6/10/2020
0.41.0 8,819 5/6/2020
0.40.1 1,440 5/5/2020
0.40.0 1,429 5/5/2020
0.39.1 4,752 4/11/2020
0.39.0 2,603 3/25/2020
0.37.0 39,106 10/9/2019
0.36.0 27,635 6/26/2019
0.35.0 2,519 6/6/2019
0.34.0 1,838 5/17/2019
0.33.0 13,171 3/11/2019
0.32.1 2,086 3/2/2019
0.32.0 1,593 2/28/2019
0.31.0 23,562 2/10/2019
0.30.0 1,605 2/10/2019
0.20.0 82,951 11/4/2018
0.12.2 2,602 10/19/2018
0.12.0 1,472 10/19/2018
0.11.0 3,671 10/8/2018
0.9.0 114,016 10/27/2017
0.8.0 1,800 10/25/2017
0.7.4 19,210 6/20/2017
0.7.3 1,677 6/19/2017
0.7.2 1,678 6/19/2017
0.7.1 1,621 6/15/2017
0.7.0 1,578 6/14/2017
0.6.0 2,592 4/12/2017
0.5.0 4,192 3/17/2017