GitHub link: https://github.com/ionide/dotnet-proj-info License: MIT
dotnet-proj-info
is library and command line tool used to parse and evaluate MsBuild files (.fsproj
). It's used to get out of project files properties, list of files, list of project references, list of .NET references and more. It supports projects targeting both .NET Framework and .NET Core, using either old (verbose) project format or new (SDK-based) one. It's powering project cracking in FsAutoComplete and solution explorer in Ionide-VSCode
Install with:
dotnet tool install -g dotnet-proj
and
dotnet proj --help
Usage:
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.
Subcommands support usual arguments of .NET cli (dotnet
) where it makes sense, for example:
-c
or --configuration
-f
or --framework
-r
or --runtime