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(); }