Merge pull request #5726 from krwq/2017-02-15-fixbuild
Fix build on master caused by newly added refs to TestAssetsManager
This commit is contained in:
commit
05e60505b0
1 changed files with 10 additions and 2 deletions
|
@ -33,7 +33,11 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
var rid = DotnetLegacyRuntimeIdentifiers.InferLegacyRestoreRuntimeIdentifier();
|
||||
var localAssemblyCache = Path.Combine(testProjectDirectory, "localAssemblyCache");
|
||||
var intermediateWorkingDirectory = Path.Combine(testProjectDirectory, "workingDirectory");
|
||||
var profileProject = Path.Combine(TestAssetsManager.AssetsRoot, profileProjectName, $"{profileProjectName}.xml");
|
||||
var profileProjectPath = TestAssets.Get(profileProjectName)
|
||||
.CreateInstance()
|
||||
.WithSourceFiles()
|
||||
.Root.FullName;
|
||||
var profileProject = Path.Combine(profileProjectPath, $"{profileProjectName}.xml");
|
||||
|
||||
new RestoreCommand()
|
||||
.WithWorkingDirectory(testProjectDirectory)
|
||||
|
@ -80,7 +84,11 @@ namespace Microsoft.DotNet.Cli.Publish.Tests
|
|||
.UseCurrentRuntimeFrameworkVersion();
|
||||
|
||||
var testProjectDirectory = testInstance.Root.ToString();
|
||||
var profileProject = Path.Combine(TestAssetsManager.AssetsRoot, profileProjectName, $"{profileProjectName}.xml");
|
||||
var profileProjectPath = TestAssets.Get(profileProjectName)
|
||||
.CreateInstance()
|
||||
.WithSourceFiles()
|
||||
.Root.FullName;
|
||||
var profileProject = Path.Combine(profileProjectPath, $"{profileProjectName}.xml");
|
||||
|
||||
new RestoreCommand()
|
||||
.WithWorkingDirectory(testProjectDirectory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue