Skip to content

Commit

Permalink
Merge branch 'master' into AsyncAnalyzerWorkQueue
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich authored Sep 21, 2023
2 parents 51c5e00 + e560635 commit ddbaef8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/OmniSharp.DotNetTest/VSTestManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ protected override bool PrepareToConnect(bool noBuild)
return true;
}

var projectFileName = Path.GetFileName(Project.FilePath);

// The project must be built before we can test.
var arguments = "build";
var arguments = $"build {projectFileName}";

// If this is .NET CLI version 2.0.0 or greater, we also specify --no-restore to ensure that
// implicit restore on build doesn't slow the build down.
Expand Down

0 comments on commit ddbaef8

Please sign in to comment.