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

Honour users' settings as a starting point for Razor formatting #76066

Open
wants to merge 1 commit into
base: release/dev17.13
Choose a base branch
from

Use users settings as a starting point for Razor formatting

e2ba725
Select commit
Loading
Failed to load commit list.
Open

Honour users' settings as a starting point for Razor formatting #76066

Use users settings as a starting point for Razor formatting
e2ba725
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Nov 25, 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 (13 tests failed)

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

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

    Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal(VS2022) [Details] [98.95% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.GenerateLocal (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "class Program\r\n{\r\n    static void Main(st"···
      Not found: "class Program\r\n{\r\n    static void Main(st"···
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91
      --- 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 Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpGenerateFromUsage.<GenerateLocal>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpGenerateFromUsage.cs:line 36
      --- 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.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType(VS2022) [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Data Driven SubResults
      Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.TypingInPartialType (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "\r\npublic partial class Test\r\n{\r\n    priva"···
      Not found: "\r\npublic partial class Test\r\n{\r\n    priva"···
      Stack Trace
         at Roslyn.VisualStudio.IntegrationTests.InProcess.EditorVerifierInProcess.<TextContainsAsync>d__7.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/InProcess/EditorVerifierInProcess.cs:line 91
      --- 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 Roslyn.VisualStudio.IntegrationTests.CSharp.CSharpTyping.<TypingInPartialType>d__3.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpTyping.cs:line 73
      --- 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.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse(VS2022) [Details] [31.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse (VS2022)
      Exception Message
      Expected:
      C.cs(3, 5): error IDE0055: Fix formatting,
      C.cs(4, 5): error IDE0055: Fix formatting,
      C.cs(6, 5): error IDE0055: Fix formatting
      Actual:
      

      Differences:
      --> C.cs(3, 5): error IDE0055: Fix formatting,
      --> C.cs(4, 5): error IDE0055: Fix formatting,
      --> C.cs(6, 5): error IDE0055: Fix formatting


      Stack Trace

         at Roslyn.Test.Utilities.AssertEx.Equal[T](IEnumerable`1 expected, IEnumerable`1 actual, IEqualityComparer`1 comparer, String message, String itemSeparator, Func`2 itemInspector, String expectedValueSourcePath, Int32 expectedValueSourceLine) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 246
      at Roslyn.Test.Utilities.AssertEx.Equal[T](ImmutableArray`1 expected, ImmutableArray`1 actual) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 198
      at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpRedirectFeaturesAnalyzers.<UsesHostOptions_WhenEnforceCodeStyleInBuildIsFalse>d__5.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpRedirectFeaturesAnalyzers.cs:line 61
      --- 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.AddClickHandler(VS2022) [Details] [100.00% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configurations (4)

    Data Driven SubResults
      Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.AddClickHandler (VS2022)
      Exception Message
      Assert.Contains() Failure: Sub-string not found
      String:    "using System;\r\nusing System.Collections.G"···
      Not found: "    public partial class Form1 : Form\r\n  "···
      Stack Trace
         at Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.<AddClickHandler>d__6.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/CSharp/CSharpWinForms.cs:line 97
      --- 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