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

Cherrypick (#73873) into 17.11 #74503

Merged

Smart Rename: Provide additional context for renamed symbol (#73873)

6c33aad
Select commit
Loading
Failed to load commit list.
Merged

Cherrypick (#73873) into 17.11 #74503

Smart Rename: Provide additional context for renamed symbol (#73873)
6c33aad
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Jul 23, 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 (1 tests failed)

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

    Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateCSharpTemplateProjects [Details] [0.09% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Data Driven SubResults
      Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateCSharpTemplateProjects(templateName: "mstest")
      Exception Message
      Expected 0 items but found 9: The following compiler diagnostics are being reported for the template.
      Items:
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\MSTestSettings.cs(1,12): error CS0246: The type or namespace name 'ParallelizeAttribute' could not be found (are you missing a using directive or an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\MSTestSettings.cs(1,12): error CS0246: The type or namespace name 'Parallelize' could not be found (are you missing a using directive or an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\MSTestSettings.cs(1,32): error CS0103: The name 'ExecutionScope' does not exist in the current context
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\obj\Debug\net9.0\dceb843d-2b31-4479-871d-732a53d54dc6.GlobalUsings.g.cs(2,32): error CS0234: The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\UnitTest1.cs(3,2): error CS0246: The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\UnitTest1.cs(3,2): error CS0246: The type or namespace name 'TestClass' could not be found (are you missing a using directive or an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestMethodAttribute' could not be found (are you missing a using directive or an assembly reference?)
          T:\RoslynTests\dceb843d-2b31-4479-871d-732a53d54dc6\UnitTest1.cs(6,6): error CS0246: The type or namespace name 'TestMethod' could not be found (are you missing a using directive or an assembly reference?)
          error CS5001: Program does not contain a static 'Main' method suitable for an entry point
      Stack Trace
         at Roslyn.Test.Utilities.AssertEx.Fail(String message) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 538
         at Roslyn.Test.Utilities.AssertEx.Empty[T](IEnumerable`1 items, String message) in /_/src/Compilers/Test/Core/Assert/AssertEx.cs:line 863
         at Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.<AssertTemplateProjectLoadsCleanlyAsync>g__AssertProjectLoadsCleanlyAsync|12_3(String projectFilePath, String[] ignoredDiagnostics) in /_/src/Workspaces/MSBuildTest/NewlyCreatedProjectsFromDotNetNew.cs:line 245
         at Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.AssertTemplateProjectLoadsCleanlyAsync(String templateName, String languageName, String[] ignoredDiagnostics) in /_/src/Workspaces/MSBuildTest/NewlyCreatedProjectsFromDotNetNew.cs:line 159
         at Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateCSharpTemplateProjects(String templateName) in /_/src/Workspaces/MSBuildTest/NewlyCreatedProjectsFromDotNetNew.cs:line 74
      --- End of stack trace from previous location ---

Was this helpful? Yes No