Generate config only on desktop
This commit is contained in:
parent
82013acbb2
commit
dd1e50c5bd
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ namespace Microsoft.DotNet.Tools.Compiler
|
|||
.WriteDepsTo(Path.Combine(outputPath, projectContext.ProjectFile.Name + FileNameSuffixes.Deps));
|
||||
}
|
||||
|
||||
if (generateBindingRedirects)
|
||||
if (generateBindingRedirects && context.TargetFramework.IsDesktop())
|
||||
{
|
||||
context.GenerateBindingRedirects(exporter, outputName);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue