Browse Source

Merge pull request #8400 from YohDeadfall/duplicate-concat

Removed duplicate concatentation in the build task
pull/8404/head
Nikita Tsukanov 4 years ago
committed by GitHub
parent
commit
67db0acac7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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