dotnet-proj 0.36.0

Get info from msbuild projects

dotnet tool install --global dotnet-proj --version 0.36.0
This package contains a .NET Core Global Tool you can call from the shell/command line.

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

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

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
0.36.0 98 6/26/2019
0.35.0 80 6/6/2019
0.34.0 71 5/17/2019
0.33.0 91 3/11/2019
0.32.1 79 3/2/2019
0.32.0 87 2/28/2019
0.31.0 94 2/10/2019
0.30.0 79 2/10/2019
0.20.0 124 11/4/2018