dotnet-remove-reference - Man Page

Removes project-to-project (P2P) references.

dotnet remove reference

This article applies to: āœ”ļø .NET Core 3.1 SDK and later versions

Synopsis

dotnet remove [<PROJECT>] reference [-f|--framework <FRAMEWORK>]
     <PROJECT_REFERENCES>

dotnet remove reference -h|--help

Description

The dotnet remove reference command provides a convenient option to remove project references from a project.

Arguments

PROJECT

Target project file. If not specified, the command searches the current directory for one.

PROJECT_REFERENCES

Project-to-project (P2P) references to remove. You can specify one or multiple projects. Glob patterns (https://en.wikipedia.org/wiki/Glob_(programming)) are supported on Unix/Linux based terminals.

Options

Examples

Info

2023-10-25 .NET Documentation