Generate config only on desktop

This commit is contained in:
Pavel Krymets 2016-01-14 14:26:55 -08:00
parent 82013acbb2
commit dd1e50c5bd

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);
} }