dotnet / dotnet/docs

Missing Documentation for "/property:Name=Value" option

Open
#42,092 2 comments 0 reactions 1 assignee Claimed by @pojith View on GitHub
:watch: Not Triaged dotnet-fundamentals/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Type of issue

Missing information

### Description

Hi!

I noticed that the options `/property:Name=Value` and `/p:Name=Value` are mentioned in various places within the documentation. However, these options are not formally documented, which could cause confusion for users.

Could we please include these options in the official documentation to make it clearer for users?

Thank you!

----

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-build.md

> -p|--property:=
> Sets one or more MSBuild properties.

> By default, MSBuild displays warnings and errors at all verbosity levels. To exclude warnings, use /property:WarningLevel=0.

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-run.md

> dotnet run doesn't respect arguments like /property:property=value, which are respected by dotnet build

### Page URL

https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build

### Content source URL

https://github.com/dotnet/docs/blob/main/docs/core/tools/dotnet-build.md

### Document Version Independent Id

5e495ddd-140e-de5c-a793-d4a9f88be51e

### Article author

@tdykstra

### Metadata

* ID: 910cd365-d63a-00dc-417c-db017f83bf6f
* Service: **dotnet-fundamentals**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.