Skip to content

Merge main into vs17.0#6374

Merged
ladipro merged 5 commits intovs17.0from
main
Apr 27, 2021
Merged

Merge main into vs17.0#6374
ladipro merged 5 commits intovs17.0from
main

Conversation

@ladipro
Copy link
Copy Markdown
Member

@ladipro ladipro commented Apr 27, 2021

Context

Getting the 17.0 branch in sync with main, in particular to pick up V3 publishing.

Changes Made

Straight main -> vs17.0 merge.

Testing

CI tests.

Forgind and others added 5 commits April 22, 2021 14:33
Context
Treat project cache exceptions similar to how MSBuild treats exceptions from ILogger.Initialize and ILogger.Shutdown. This avoids the "file an issue against the MSBuild team" console messages.
Treat errors logged by the project cache similar to how MSBuild treats errors logged by tasks. Which is to check whether they logged an error and if yes, shut the build down (project cache does not do "continue on error").

Changes Made
Adds a ProjectCacheException which gets handled similarly to LoggerException

Testing
Beefed up the existing exception handling tests to also assert what happens when the project cache logs errors instead of throwing exceptions.

Co-authored-by: Rainer Sigwald <raines@microsoft.com>
@ladipro ladipro merged commit df1c8fb into vs17.0 Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants