Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable terminal logger when running from root build script #99036

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Feb 28, 2024

Since the 9.0-preview1 SDK bump the msbuild terminal logger was used again when using the root build.sh/cmd since the option from Directory.Build.rsp was ignored. The reason is that we're calling msbuild on Build.proj from an arcade nuget package so the file isn't in the directory tree above.

Add the -tl:false option into the build scripts directly. Individual invocations of dotnet build for repo projects still work because there the Directory.Build.rsp is in the directory tree above.

See #97211

Since the 9.0-preview1 bump the msbuild terminal logger was used again since the option from Directory.Build.rsp was ignored.
The reason is that we're using Build.proj from an arcade nuget package so the file isn't in the directory tree above, it looks like it was only working due to an msbuild bug before.

Add the -tl:false option into the build scripts directly. Individual invocations of `dotnet build` for repo projects still work because there the Directory.Build.rsp is in the directory tree above.
@ghost
Copy link

ghost commented Feb 28, 2024

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Since the 9.0-preview1 SDK bump the msbuild terminal logger was used again since the option from Directory.Build.rsp was ignored. The reason is that we're using Build.proj from an arcade nuget package so the file isn't in the directory tree above, it looks like it was only working due to an msbuild bug before.

Add the -tl:false option into the build scripts directly. Individual invocations of dotnet build for repo projects still work because there the Directory.Build.rsp is in the directory tree above.

See #97211

Author: akoeplinger
Assignees: -
Labels:

area-Infrastructure

Milestone: -

@ghost ghost assigned akoeplinger Feb 28, 2024
@akoeplinger akoeplinger merged commit 438dabb into dotnet:main Feb 28, 2024
175 of 180 checks passed
@akoeplinger akoeplinger deleted the disable-tl branch February 28, 2024 16:07
@github-actions github-actions bot locked and limited conversation to collaborators Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants