From 44840d6efa3ccf214e98441430a613734dbf68d8 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 18 Aug 2021 19:58:45 -0700 Subject: [PATCH] additional fixes --- .../IntegrationTests/CSharp/CSharpSquigglesCommon.cs | 2 +- .../IntegrationTests/Workspace/WorkspacesNetCore.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpSquigglesCommon.cs b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpSquigglesCommon.cs index 0396b709a5b54..0122b1f723ea7 100644 --- a/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpSquigglesCommon.cs +++ b/src/VisualStudio/IntegrationTest/IntegrationTests/CSharp/CSharpSquigglesCommon.cs @@ -41,7 +41,7 @@ private static void Sub() }"); VisualStudio.Editor.Verify.ErrorTags( - "Microsoft.VisualStudio.Text.Tagging.ErrorTag:'using System.Collections.Generic;\\r\\nusing System.Text;'[15-68]", + "Microsoft.VisualStudio.Text.Tagging.ErrorTag:'using System;\\r\\nusing System.Collections.Generic;\\r\\nusing System.Text;'[0-68]", "Microsoft.VisualStudio.Text.Tagging.ErrorTag:'\\r'[286-287]", "Microsoft.VisualStudio.Text.Tagging.ErrorTag:'}'[354-355]"); } diff --git a/src/VisualStudio/IntegrationTest/IntegrationTests/Workspace/WorkspacesNetCore.cs b/src/VisualStudio/IntegrationTest/IntegrationTests/Workspace/WorkspacesNetCore.cs index b1fb0d4985a54..7f6b11ecd61b3 100644 --- a/src/VisualStudio/IntegrationTest/IntegrationTests/Workspace/WorkspacesNetCore.cs +++ b/src/VisualStudio/IntegrationTest/IntegrationTests/Workspace/WorkspacesNetCore.cs @@ -26,6 +26,8 @@ public WorkspacesNetCore(VisualStudioInstanceFactory instanceFactory) [Trait(Traits.Feature, Traits.Features.NetCore)] public override void OpenCSharpThenVBSolution() { + // The CSharpNetCoreClassLibrary template does not open a file automatically. + VisualStudio.SolutionExplorer.OpenFile(new ProjectUtils.Project(ProjectName), WellKnownProjectTemplates.CSharpNetCoreClassLibraryClassFileName); base.OpenCSharpThenVBSolution(); }