1dotnet remove reference command(1) .NET Coredotnet remove reference command(1)
2
3
4

dotnet remove reference

NAME

7       dotnet remove reference - Removes project-to-project references.
8

SYNOPSIS

10       dotnet  remove  [<PROJECT>]  reference [-f|--framework] <PROJECT_REFER‐
11       ENCES> [-h|--help]
12

DESCRIPTION

14       The dotnet remove reference command provides a convenient option to re‐
15       move project references from a project.
16
17   Arguments
18       PROJECT
19
20       Target  project  file.  If not specified, the command searches the cur‐
21       rent directory for one.
22
23       PROJECT_REFERENCES
24
25       Project-to-project (P2P) references to remove.  You can specify one  or
26       multiple  projects.   Glob  patterns  are supported on Unix/Linux based
27       terminals.
28

OPTIONS

30       -h|--help
31
32       Prints out a short help for the command.
33
34       -f|--framework <FRAMEWORK>
35
36       Removes the reference only when targeting a specific framework.
37

EXAMPLES

39       Remove a project reference from the specified project:
40
41       dotnet remove app/app.csproj reference lib/lib.csproj
42
43       Remove multiple project references from the project in the current  di‐
44       rectory:
45
46       dotnet remove reference lib1/lib1.csproj lib2/lib2.csproj
47
48       Remove multiple project references using a glob pattern on Unix/Linux:
49
50       dotnet remove app/app.csproj reference **/*.csproj
51
52
53
54                                            dotnet remove reference command(1)
Impressum