51 lines
1.5 KiB
Groff
51 lines
1.5 KiB
Groff
.\" Automatically generated by Pandoc 2.1.3
|
|
.\"
|
|
.TH "dotnet remove reference command \- .NET Core CLI" "1" "" "" ".NET Core"
|
|
.hy
|
|
.SH dotnet remove reference
|
|
.PP
|
|
.SH NAME
|
|
.PP
|
|
\f[C]dotnet\ remove\ reference\f[] \- Removes project\-to\-project references.
|
|
.SH SYNOPSIS
|
|
.PP
|
|
\f[C]dotnet\ remove\ [<PROJECT>]\ reference\ [\-f|\-\-framework]\ <PROJECT_REFERENCES>\ [\-h|\-\-help]\f[]
|
|
.SH DESCRIPTION
|
|
.PP
|
|
The \f[C]dotnet\ remove\ reference\f[] command provides a convenient option to remove project references from a project.
|
|
.SS Arguments
|
|
.PP
|
|
\f[C]PROJECT\f[]
|
|
.PP
|
|
Target project file.
|
|
If not specified, the command searches the current directory for one.
|
|
.PP
|
|
\f[C]PROJECT_REFERENCES\f[]
|
|
.PP
|
|
Project to project (P2P references to remove.
|
|
You can specify one or multiple projects.
|
|
Glob patterns are supported on Unix/Linux based terminals.
|
|
.SH OPTIONS
|
|
.PP
|
|
\f[C]\-h|\-\-help\f[]
|
|
.PP
|
|
Prints out a short help for the command.
|
|
.PP
|
|
\f[C]\-f|\-\-framework\ <FRAMEWORK>\f[]
|
|
.PP
|
|
Removes the reference only when targeting a specific framework.
|
|
.SH EXAMPLES
|
|
.PP
|
|
Remove a project reference from the specified project:
|
|
.PP
|
|
\f[C]dotnet\ remove\ app/app.csproj\ reference\ lib/lib.csproj\f[]
|
|
.PP
|
|
Remove multiple project references from the project in the current directory:
|
|
.PP
|
|
\f[C]dotnet\ remove\ reference\ lib1/lib1.csproj\ lib2/lib2.csproj\f[]
|
|
.PP
|
|
Remove multiple project references using a glob pattern on Unix/Linux:
|
|
.PP
|
|
\f[C]dotnet\ remove\ app/app.csproj\ reference\ **/*.csproj\f[]
|
|
.SH AUTHORS
|
|
mairaw.
|