dotnet-proj 0.31.0

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-proj --version 0.31.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-proj --version 0.31.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-proj&version=0.31.0                
nuke :add-package dotnet-proj --version 0.31.0                

Features

  • get properties
  • get fsc/csc command line arguments
  • get project to project references

Not project specific

  • 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 .NET Tool

Install it globally with

dotnet tool install dotnet-proj -g

See help with

dotnet proj --help

to show

dotnet-proj.
 
USAGE: dotnet-proj [--help] [--verbose] [<subcommand> [<options>]]

SUBCOMMANDS:

    prop <options>        get properties
    fsc-args <options>    get fsc arguments
    csc-args <options>    get csc arguments
    p2p <options>         get project references
    net-fw <options>      list the installed .NET Frameworks
    net-fw-ref <options>  get the reference path of given .NET Framework assembly

    Use 'dotnet-proj <subcommand> --help' for additional information.

OPTIONS:

    --verbose, -v         verbose log
    --help                display this list of options.

To get subcommands help, run it like dotnet proj fsc-args --help

Some subcommands support args of .NET Core Sdk (dotnet), like:

  • -c or --configuration
  • -f or --framework
  • -r or --runtime

like

dotnet fsc-args -c Release -f netcoreapp2.1

And to specify the project

dotnet proj fsc-args # will search fsproj in current dir
dotnet proj fsc-args path/to/my.fsproj

See examples directory for a quick tutorial

Used by

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 netcoreapp2.1 is compatible.  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.

This package has no dependencies.

Version Downloads Last updated
0.44.0 1,113 8/11/2020 0.44.0 is deprecated because it is no longer maintained.
0.43.0 1,505 7/13/2020
0.42.1 534 6/21/2020
0.41.1 458 6/10/2020
0.41.0 517 5/6/2020
0.40.1 493 5/5/2020
0.40.0 488 5/5/2020
0.39.1 575 4/11/2020
0.39.0 521 3/25/2020
0.37.0 579 10/9/2019
0.36.0 633 6/26/2019
0.35.0 586 6/6/2019
0.34.0 575 5/17/2019
0.33.0 594 3/11/2019
0.32.1 547 3/2/2019
0.32.0 590 2/28/2019
0.31.0 648 2/10/2019
0.30.0 614 2/10/2019
0.20.0 723 11/4/2018