Skip to content

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

@flibustier7seas

Description

@flibustier7seas

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions