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

Use Basic.Reference.Assemblies in MS.CA.Razor.Test #10877

Merged
merged 2 commits into from
Sep 13, 2024

Improve code style

3f57e9e
Select commit
Loading
Failed to load commit list.
Merged

Use Basic.Reference.Assemblies in MS.CA.Razor.Test #10877

Improve code style
3f57e9e
Select commit
Loading
Failed to load commit list.
Azure Pipelines / razor-tooling-ci succeeded Sep 13, 2024 in 18m 31s

Build #20240913.2 had test failures

Details

Tests

  • Failed: 2 (0.00%)
  • Passed: 71,110 (99.73%)
  • Other: 188 (0.26%)
  • Total: 71,300

Annotations

Check failure on line 1 in Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.FormatsSimpleHtmlTag_OnType

See this annotation in the file changed.

@azure-pipelines azure-pipelines / razor-tooling-ci

Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.FormatsSimpleHtmlTag_OnType

System.InvalidOperationException : ExportProviderCache may only be used from tests marked with UseExportProviderAttribute
Raw output
   at Microsoft.AspNetCore.Razor.Test.Common.Mef.ExportProviderCache.SingleExportProviderFactory.GetOrCreateExportProvider() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Mef/ExportProviderCache.cs:line 162
   at Microsoft.AspNetCore.Razor.Test.Common.Mef.ExportProviderCache.SingleExportProviderFactory.Microsoft.VisualStudio.Composition.IExportProviderFactory.CreateExportProvider() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Mef/ExportProviderCache.cs:line 219
   at Microsoft.CodeAnalysis.Razor.Formatting.HtmlFormatting.<CallWebToolsApplyFormattedEditsHandlerAsync>d__2.MoveNext() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Formatting_NetFx/HtmlFormatting.cs:line 69
--- 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`1.GetResult()
   at Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.<VerifyOnTypeFormattingAsync>d__5.MoveNext() in /_/src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Cohost/CohostOnTypeFormattingEndpointTest.cs:line 118
--- 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()
   at Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.<FormatsSimpleHtmlTag_OnType>d__4.MoveNext() in /_/src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Cohost/CohostOnTypeFormattingEndpointTest.cs:line 79
--- 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)
--- 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)

Check failure on line 1 in Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.FormatsSimpleHtmlTag_OnType

See this annotation in the file changed.

@azure-pipelines azure-pipelines / razor-tooling-ci

Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.FormatsSimpleHtmlTag_OnType

System.InvalidOperationException : ExportProviderCache may only be used from tests marked with UseExportProviderAttribute
Raw output
   at Microsoft.AspNetCore.Razor.Test.Common.Mef.ExportProviderCache.SingleExportProviderFactory.GetOrCreateExportProvider() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Mef/ExportProviderCache.cs:line 159
   at Microsoft.AspNetCore.Razor.Test.Common.Mef.ExportProviderCache.SingleExportProviderFactory.Microsoft.VisualStudio.Composition.IExportProviderFactory.CreateExportProvider() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Mef/ExportProviderCache.cs:line 219
   at Microsoft.CodeAnalysis.Razor.Formatting.HtmlFormatting.<CallWebToolsApplyFormattedEditsHandlerAsync>d__2.MoveNext() in /_/src/Razor/test/Microsoft.AspNetCore.Razor.Test.Common.Tooling/Formatting_NetFx/HtmlFormatting.cs:line 69
--- 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 Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.<VerifyOnTypeFormattingAsync>d__5.MoveNext() in /_/src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Cohost/CohostOnTypeFormattingEndpointTest.cs:line 118
--- 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 Microsoft.VisualStudio.Razor.LanguageClient.Cohost.CohostOnTypeFormattingEndpointTest.<FormatsSimpleHtmlTag_OnType>d__4.MoveNext() in /_/src/Razor/test/Microsoft.VisualStudio.LanguageServices.Razor.Test/Cohost/CohostOnTypeFormattingEndpointTest.cs:line 79
--- 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)
--- 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)