Merge branch 'release/2.0.0' into merge_release_200
* release/2.0.0: Separating the 'legacy' URL construction from the 'current' URL construction methods and logic. Use temporary path for fake deps.json in test MSBuild 15.4.8 Insert SDK 2.0.2-vspre-20170927-1
This commit is contained in:
commit
72eda50303
3 changed files with 39 additions and 31 deletions
|
@ -266,14 +266,8 @@ namespace Microsoft.DotNet.Tests
|
|||
|
||||
var lockFile = new LockFileFormat().Read(lockFilePath);
|
||||
|
||||
var depsJsonFile = Path.Combine(
|
||||
Path.GetDirectoryName(lockFilePath),
|
||||
"dotnet-portable.deps.json");
|
||||
|
||||
if (File.Exists(depsJsonFile))
|
||||
{
|
||||
File.Delete(depsJsonFile);
|
||||
}
|
||||
// NOTE: We must not use the real deps.json path here as it will interfere with tests running in parallel.
|
||||
var depsJsonFile = Path.GetTempFileName();
|
||||
File.WriteAllText(depsJsonFile, "temp");
|
||||
|
||||
var projectToolsCommandResolver = SetupProjectToolsCommandResolver();
|
||||
|
@ -309,7 +303,7 @@ namespace Microsoft.DotNet.Tests
|
|||
|
||||
result.Should().NotBeNull();
|
||||
|
||||
result.Args.Should().Contain("--fx-version 2.0.3-servicing-25808-01");
|
||||
result.Args.Should().Contain("--fx-version 2.0.3");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue