dotnet / docs

This repository contains .NET Documentation.
https://learn.microsoft.com/dotnet
Creative Commons Attribution 4.0 International
4.29k stars 5.92k forks source link

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

Open flibustier7seas opened 3 months ago

flibustier7seas commented 3 months ago

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

pojith commented 3 months ago

/assign me

tdykstra commented 1 week ago

@pojith, do you still intend to address this issue?