Merge pull request #1906 from dotnet/pakrym/legacy-deps

Generate embedded deps file that previos versions of DependencyModel can use
This commit is contained in:
Pavel Krymets 2016-03-16 15:59:17 -07:00
commit 28d5f6125c

View file

@ -114,7 +114,7 @@ namespace Microsoft.DotNet.Tools.Compiler
var dependencyContext = new DependencyContextBuilder().Build(compilationOptions, var dependencyContext = new DependencyContextBuilder().Build(compilationOptions,
allExports, allExports,
allExports, allExports,
true, // For now, just assume portable mode in the legacy deps file (this is going away soon anyway) false, // For now, just assume non-portable mode in the legacy deps file (this is going away soon anyway)
context.TargetFramework, context.TargetFramework,
context.RuntimeIdentifier ?? string.Empty); context.RuntimeIdentifier ?? string.Empty);