Fix build break on Windows

This commit is contained in:
Piotr Puszkiewicz 2016-03-28 16:54:06 -07:00
parent a23568b4e5
commit 14aa53eeff
2 changed files with 5 additions and 3 deletions

View file

@ -14,10 +14,12 @@ namespace Microsoft.DotNet.Tests
public class PackagedCommandTests : TestBase
{
private readonly string _testProjectsRoot;
private readonly string _desktopTestProjectsRoot;
public PackagedCommandTests()
{
_testProjectsRoot = Path.Combine(AppContext.BaseDirectory, "TestAssets", "TestProjects");
_desktopTestProjectsRoot = Path.Combine(AppContext.BaseDirectory, "TestAssets", "DesktopTestProjects");
}
[Theory]
@ -51,7 +53,7 @@ namespace Microsoft.DotNet.Tests
return;
}
var appDirectory = Path.Combine(_testProjectsRoot, "AppWithDirectDependencyDesktopAndPortable");
var appDirectory = Path.Combine(_desktopTestProjectsRoot, "AppWithDirectDependencyDesktopAndPortable");
new BuildCommand(Path.Combine(appDirectory, "project.json"))
.Execute()