Merge pull request #852 from dotnet/pakrym/desktop

Generate config only on desktop
This commit is contained in:
Pavel Krymets 2016-01-14 14:28:37 -08:00
commit f31ac24110

View file

@ -354,7 +354,7 @@ namespace Microsoft.DotNet.Tools.Compiler
.WriteDepsTo(Path.Combine(outputPath, projectContext.ProjectFile.Name + FileNameSuffixes.Deps)); .WriteDepsTo(Path.Combine(outputPath, projectContext.ProjectFile.Name + FileNameSuffixes.Deps));
} }
if (generateBindingRedirects) if (generateBindingRedirects && context.TargetFramework.IsDesktop())
{ {
context.GenerateBindingRedirects(exporter, outputName); context.GenerateBindingRedirects(exporter, outputName);
} }