Include App.config item only for net472 builds #74639
Merged
Build Analysis / Build Analysis
succeeded
Aug 3, 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 (2 tests failed)
🔹 [All failing tests from roslyn-integration-CI]
- Data Driven SubResults
- Exception Message
Expected 0 items but found 8: The following compiler diagnostics are being reported for the template. Items: T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\MSTestSettings.vb(1) : warning BC40056: Namespace or type specified in the Imports 'Microsoft.VisualStudio.TestTools.UnitTesting' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\MSTestSettings.vb(3) : error BC30002: Type 'Parallelize' is not defined. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\MSTestSettings.vb(3) : error BC30451: 'ExecutionScope' is not declared. It may be inaccessible due to its protection level. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\MSTestSettings.vb(3) : error BC30661: Field or property 'Scope' is not found. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\UnitTest1.vb(1) : warning BC40056: Namespace or type specified in the Imports 'Microsoft.VisualStudio.TestTools.UnitTesting' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\UnitTest1.vb(4) : error BC30002: Type 'TestClass' is not defined. T:\RoslynTests\e934a427-e2d5-4f21-abdc-a054f5900f65\UnitTest1.vb(6) : error BC30002: Type 'TestMethod' is not defined. error BC30420: 'Sub Main' was not found in 'e934a427-e2d5-4f21-abdc-a054f5900f65'.
- 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.ValidateVisualBasicTemplateProjects(String templateName) in /_/src/Workspaces/MSBuildTest/NewlyCreatedProjectsFromDotNetNew.cs:line 89 --- End of stack trace from previous location ---
- Data Driven SubResults
- Exception Message
System.AggregateException : One or more errors occurred. ---- System.NullReferenceException : Object reference not set to an instance of an object.
- Stack Trace
at Microsoft.CodeAnalysis.ErrorReporting.TestTraceListener.VerifyNoErrorsAndReset() in /_/src/VisualStudio/IntegrationTest/TestSetup/TestTraceListener.cs:line 135 at Roslyn.VisualStudio.IntegrationTests.AbstractIntegrationTest.<DisposeAsync>d__8.MoveNext() in /_/src/VisualStudio/IntegrationTest/New.IntegrationTests/AbstractIntegrationTest.cs:line 190 --- 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) ----- Inner Stack Trace ----- at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeSet.Update(ITextVersion currentVersion) at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeSet.Update(ITextVersion currentVersion, ITextVersion desiredVersion) at Microsoft.VisualStudio.Text.ChangeTagger.Implementation.ChangeTagger.OnBufferChangedOnBackground(Object sender, TextSnapshotChangedEventArgs e) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.RaiseEvent[TArgs](Object sender, EventHandler`1 eventHandlers, TArgs args)
❌ Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateVisualBasicTemplateProjects [Details] [0.44% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Microsoft.CodeAnalysis.MSBuild.UnitTests.NewlyCreatedProjectsFromDotNetNew.ValidateVisualBasicTemplateProjects(templateName: "mstest")
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl [Details] [1.53% failure rate]
-
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
Failing Configuration
-
❌ Roslyn.VisualStudio.NewIntegrationTests.CSharp.CSharpWinForms.DeleteControl (VS2022)
Loading