Skip to content
Draft
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Suppress unrelated obsolete warning
  • Loading branch information
jjonescz committed Jul 24, 2025
commit b7ac475235f8a84bba78bc39cc584024e2cf5d8c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ internal class IncrementalMSBuildWorkspace : Workspace
public IncrementalMSBuildWorkspace(IReporter reporter)
: base(MSBuildMefHostServices.DefaultServices, WorkspaceKind.MSBuild)
{
#pragma warning disable CS0618 // Type or member is obsolete: WorkspaceFailed
WorkspaceFailed += (_sender, diag) =>
#pragma warning restore CS0618 // Type or member is obsolete: WorkspaceFailed
{
// Report both Warning and Failure as warnings.
// MSBuildProjectLoader reports Failures for cases where we can safely continue loading projects
Expand Down