RunCommand prints "Building..." by default if it needs to build#35263
RunCommand prints "Building..." by default if it needs to build#35263epidemicz wants to merge 2 commits into
Conversation
- Building message will print unless dotnetRunMessages is false - added test project that has dotnetRunMessages set to false - added a test to ensure it is printed when dotnetRunMessage is true - added a test to ensure it isn't printed when dotnetRunMessage is false - changed test to ensure it is printed by default/no launch settings
|
@dotnet-policy-service agree |
|
Whether documentation would have to be updated if this PR were merged:
The |
|
Outputting the "Building..." message by default could be a breaking change for users who use |
|
Dotnet run should not show any build messages by default - specifically because users use this command as a shorthand for actually invoking their applications. This differs greatly from watch in intent. |
|
You're right, I don't want to break anybody. Well a little, but it's probably not for the best. Thanks for the feedback, I think I will look into a PR to add some information about |
When
dotnet runneeds to build the project it will now print theBuilding...message by default unless dotnetRunMessages is set to false.I found it confusing that certain project templates would print the
Building...message and others wouldn't.It seems more consistent to have
dotnet runprintBuilding...by default. This also mirrors the behavior ofdotnet watch