Moving the InferLegacyRestoreRuntime method to Test.Utilities, since it is needed only by tests.

This commit is contained in:
Livar Cunha 2016-10-10 09:52:39 -07:00
parent 09d811fdbd
commit c2bce2e2cc
15 changed files with 46 additions and 45 deletions

View file

@ -73,7 +73,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
if (!portable)
{
var runtime = string.IsNullOrEmpty(_runtime) ?
DotnetRuntimeIdentifiers.InferLegacyRestoreRuntimeIdentifier() :
DotnetLegacyRuntimeIdentifiers.InferLegacyRestoreRuntimeIdentifier() :
_runtime;
return Path.Combine(config, framework, runtime, PublishSubfolderName);
}