Browse Source

Removed duplicate concatination

The type system concatenates the target to references internally.
pull/8400/head
Yoh Deadfall 4 years ago
parent
commit
2ab262136c
  1. 6
      src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs

6
src/Avalonia.Build.Tasks/XamlCompilerTaskExecutor.cs

@ -49,9 +49,9 @@ namespace Avalonia.Build.Tasks
string projectDirectory, string projectDirectory,
string output, bool verifyIl, MessageImportance logImportance, string strongNameKey, bool patchCom, bool skipXamlCompilation, bool debuggerLaunch) string output, bool verifyIl, MessageImportance logImportance, string strongNameKey, bool patchCom, bool skipXamlCompilation, bool debuggerLaunch)
{ {
var typeSystem = new CecilTypeSystem(references var typeSystem = new CecilTypeSystem(
.Where(r => !r.ToLowerInvariant().EndsWith("avalonia.build.tasks.dll")) references.Where(r => !r.ToLowerInvariant().EndsWith("avalonia.build.tasks.dll")),
.Concat(new[] { input }), input); input);
var asm = typeSystem.TargetAssemblyDefinition; var asm = typeSystem.TargetAssemblyDefinition;

Loading…
Cancel
Save