Access services on Solution rather than workspace in Razor cohost (Roslyn OOP) scenarios #75545
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]
- Data Driven SubResults
- 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)
- Data Driven SubResults
- 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)
- Data Driven SubResults
- 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)
- Data Driven SubResults
- 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)
- Data Driven SubResults
- 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)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.CreateLegacyProjectWithFileScopedNamespaces(VS2022) [Details] [1.66% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpNewDocumentFormatting.CreateLegacyProjectWithFileScopedNamespaces (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility(VS2022) [Details] [1.23% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.ChangeAccessibility (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl(VS2022) [Details] [1.37% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RemoveEventHandler(VS2022) [Details] [1.88% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RemoveEventHandler (VS2022)
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RenameControl(VS2022) [Details] [1.23% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.RenameControl (VS2022)
Loading