Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
enricosada committed Oct 27, 2017
1 parent 1cc3a73 commit c9cf78a
Showing 1 changed file with 48 additions and 4 deletions.
52 changes: 48 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,63 @@
- dotnet cli tool: `dotnet proj-info`
- as library: `Dotnet.ProjInfo`

Support:
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:

Support both dotnet/sdk style projects (slim proj, usually .net core) and old sdk projects (verbose proj, usually .NET)
- dotnet/sdk style projects (slim proj, usually .net core)
- old sdk projects (verbose proj, usually .NET)

Runtimes:

Works on mono and windows, and allow to specify the `dotnet` or `msbuild` to use

Add usual args of .NET cli, like `-c`, `-f`, `-r`
Notes:

Add usual args of .NET cli, like `-c` (`--configuration`), `-f` (`--framework`), `-r` (`--runtime`)

see [examples](https://github.com/enricosada/dotnet-proj-info/tree/master/examples) directory
See [examples](https://github.com/enricosada/dotnet-proj-info/tree/master/examples) directory

```
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

Expand Down

0 comments on commit c9cf78a

Please sign in to comment.