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

Make Workspaces.MSBuild build with a netstandard target #72257

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Make Workspaces.MSBuild build with a netstandard target

bffa031
Select commit
Loading
Failed to load commit list.
Draft

Make Workspaces.MSBuild build with a netstandard target #72257

Make Workspaces.MSBuild build with a netstandard target
bffa031
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Mar 4, 2024 in 0s

.NET Result Analysis

Details

Known Infrastructure Errors

Test Failures (8 tests failed)

🔹 [All failing tests from roslyn-CI]

    Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests_Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests_Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests_Micro..._29.WorkItemExecution [Console] [Details] [Artifacts] [11.54% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configuration

    Microsoft.CodeAnalysis.Editor.UnitTests.RenameTracking.RenameTrackingTaggerProviderTests.RenameTrackingOnThingsCalledValueTupleThatAreNotTheWellKnownType [Console] [Details] [Artifacts] [0.70% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Assert.Equal() Failure
    Expected: 1
    Actual:   0
    CallStack
       at Microsoft.CodeAnalysis.Editor.UnitTests.RenameTracking.RenameTrackingTestState.<AssertTag>d__27.MoveNext() in /_/src/EditorFeatures/Test/RenameTracking/RenameTrackingTestState.cs:line 189
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Microsoft.CodeAnalysis.Editor.UnitTests.RenameTracking.RenameTrackingTaggerProviderTests.<RenameTrackingOnThingsCalledValueTupleThatAreNotTheWellKnownType>d__72.MoveNext() in /_/src/EditorFeatures/Test/RenameTracking/RenameTrackingTaggerProviderTests.cs:line 1384
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

🔹 [All failing tests from roslyn-integration-CI]

    ⚠️ 3 failing tests not displayed for this pipeline due to space limitations

    Microsoft.CodeAnalysis.MSBuild.UnitTests.VisualStudioMSBuildWorkspaceTests.TestInvalidSolutionFilterDoesNotLoad [Details] [0.55% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (2)

    Exception Message
    Assert.Throws() Failure
    Expected: typeof(System.Exception)
    Actual:   typeof(Microsoft.CodeAnalysis.MSBuild.Rpc.RemoteInvocationException): An exception of type System.InvalidOperationException was thrown: The requested operation requires an element of type 'String', but the target element has type 'Object'.
    ---- Microsoft.CodeAnalysis.MSBuild.Rpc.RemoteInvocationException : An exception of type System.InvalidOperationException was thrown: The requested operation requires an element of type 'String', but the target element has type 'Object'.
    CallStack
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeCoreAsync>d__15.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 163
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeAsync>d__14`1.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 192
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 213
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.<OpenSolutionAsync>d__25.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildWorkspace.cs:line 205
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    ----- Inner Stack Trace -----
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeCoreAsync>d__15.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 163
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeAsync>d__14`1.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 192
    --- End of stack trace from previous location where exceptio

🔹 [All failing tests from roslyn-integration-corehost]

    ⚠️ 1 failing tests not displayed for this pipeline due to space limitations

    Microsoft.CodeAnalysis.MSBuild.UnitTests.VisualStudioMSBuildWorkspaceTests.TestInvalidSolutionFilterDoesNotLoad [Details] [0.53% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    Assert.Throws() Failure
    Expected: typeof(System.Exception)
    Actual:   typeof(Microsoft.CodeAnalysis.MSBuild.Rpc.RemoteInvocationException): An exception of type System.InvalidOperationException was thrown: The requested operation requires an element of type 'String', but the target element has type 'Object'.
    ---- Microsoft.CodeAnalysis.MSBuild.Rpc.RemoteInvocationException : An exception of type System.InvalidOperationException was thrown: The requested operation requires an element of type 'String', but the target element has type 'Object'.
    CallStack
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeCoreAsync>d__15.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 163
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeAsync>d__14`1.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 192
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 213
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildWorkspace.<OpenSolutionAsync>d__25.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildWorkspace.cs:line 205
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    ----- Inner Stack Trace -----
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeCoreAsync>d__15.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 163
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.Rpc.RpcClient.<InvokeAsync>d__14`1.MoveNext() in /_/src/Workspaces/MSBuild/Core/Rpc/RpcClient.cs:line 114
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
       at Microsoft.CodeAnalysis.MSBuild.MSBuildProjectLoader.<LoadSolutionInfoAsync>d__23.MoveNext() in /_/src/Workspaces/MSBuild/Core/MSBuild/MSBuildProjectLoader.cs:line 192
    --- End of stack trace from previous location where exceptio

Was this helpful? Yes No