Skip to content

Commit

Permalink
Fix tests on release pipeline (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
zijchen authored Nov 13, 2024
1 parent 2c6e18d commit 1cf3f05
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/Microsoft.Build.Sql.Tests/DotnetTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ public abstract class DotnetTestBase
{
protected string DatabaseProjectName = "project";

#if DEBUG
protected const bool IsDebug = true;
#else
protected const bool IsDebug = false;
#endif

protected string WorkingDirectory
{
get { return Path.Combine(TestContext.CurrentContext.WorkDirectory, TestUtils.EscapeTestName(TestContext.CurrentContext.Test.Name)); }
Expand Down Expand Up @@ -350,8 +344,7 @@ protected string GetDacpacPath()
/// </summary>
protected string GetOutputDirectory()
{
string configuration = IsDebug ? "Debug" : "Release";
return Path.Combine(this.WorkingDirectory, "bin", configuration);
return Path.Combine(this.WorkingDirectory, "bin", "Debug");
}

/// <summary>
Expand Down

0 comments on commit 1cf3f05

Please sign in to comment.