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

Access services on Solution rather than workspace in Razor cohost (Roslyn OOP) scenarios #75545

Merged
merged 2 commits into from
Oct 18, 2024

Merge pull request #1 from alexgav/dev/alexgav/FixExternalRazorComple…

8cb765f
Select commit
Loading
Failed to load commit list.
Merged

Access services on Solution rather than workspace in Razor cohost (Roslyn OOP) scenarios #75545

Merge pull request #1 from alexgav/dev/alexgav/FixExternalRazorComple…
8cb765f
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis succeeded Oct 18, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Test Failures (5 tests failed)

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

    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.CreateLegacyProjectWithFileScopedNamespaces(VS2022) [Details] [1.66% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.CreateLegacyProjectWithFileScopedNamespaces (VS2022)
      Exception Message
      Actual and expected values differ. Expected shown in baseline of diff:
      +Program.cs(6, 13): warning CS0219: The variable 'n1Var' is assigned but its value is never used
      +Program.cs(7, 13): warning CS0219: The variable 'n2Var' is assigned but its value is never used
      
      Stack Trace
         at Roslyn.Test.Utilities.AssertEx.EqualOrDiff(String expected, String actual, String message) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 310
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.<VerifyNoErrorsAsync>d__6.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpNewDocumentFormatting.cs:line 139
      --- 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 Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.<CreateLegacyProjectWithFileScopedNamespaces>d__1.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpNewDocumentFormatting.cs:line 39
      --- 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.TaskAwaiter.GetResult()
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility(VS2022) [Details] [1.23% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility (VS2022)
      Exception Message
      Assert.Empty() Failure: Collection was not empty
      Collection: ["Program.cs(6, 13): warning CS0219: The variable 'n"···, "Program.cs(7, 13): warning CS0219: The variable 'n"···]
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<ChangeAccessibility>d__9.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 202
      --- 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.TaskAwaiter.GetResult()
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl(VS2022) [Details] [1.37% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl (VS2022)
      Exception Message
      Assert.Empty() Failure: Collection was not empty
      Collection: ["Program.cs(6, 13): warning CS0219: The variable 'n"···, "Program.cs(7, 13): warning CS0219: The variable 'n"···]
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<DeleteControl>d__10.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 229
      --- 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.TaskAwaiter.GetResult()
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RemoveEventHandler(VS2022) [Details] [1.88% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RemoveEventHandler (VS2022)
      Exception Message
      Assert.Empty() Failure: Collection was not empty
      Collection: ["Program.cs(6, 13): warning CS0219: The variable 'n"···, "Program.cs(7, 13): warning CS0219: The variable 'n"···]
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<RemoveEventHandler>d__8.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 171
      --- 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.TaskAwaiter.GetResult()
      --- 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)
      --- 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)
    Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RenameControl(VS2022) [Details] [1.23% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RenameControl (VS2022)
      Exception Message
      Assert.Empty() Failure: Collection was not empty
      Collection: ["Program.cs(6, 13): warning CS0219: The variable 'n"···, "Program.cs(7, 13): warning CS0219: The variable 'n"···]
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<RenameControl>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 136
      --- 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.TaskAwaiter.GetResult()
      --- 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)
      --- 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)

Was this helpful? Yes No