EN
enricosada/dotnet-proj-info-fork
Get info from .net sdk based msbuild projects ( https://github.com/dotnet/sdk ) or old sdk based projects (verbose fsproj)
dotnet-proj-info
Features
- get properties
- get
fsc/csccommand line arguments - get project to project references
- 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 .NET, and allow to specify the dotnet (.NET Core) or msbuild (.NET) to use
as .NET Tool
Install with:
dotnet tool install -g dotnet-projand
dotnet proj --helpUsage:
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 make sense, like:
- the project to use
-cor--configuration-for--framework-ror--runtime
See examples directory for a quick tutorial
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:
Build
Clone repo.
Run:
dotnet buildTo run tests:
dotnet test -v nTo create packages:
dotnet packwill create packages in bin\nupkgs
pass /p:Version=1.2.3 to create a package with version 1.2.3