Skip to content

Commit

Permalink
Merge branch 'release/5.3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertvanHorrik committed Apr 19, 2021
2 parents c145e62 + bec34e3 commit 695ba2e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/Costura.Fody.Tests/Helpers/WeavingHelper.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.IO;
using System.IO;
using System.Linq;
using System.Xml.Linq;
using Costura.Fody.Tests;
Expand All @@ -16,7 +15,6 @@ public static TestResult CreateIsolatedAssemblyCopy(string assemblyPath, string
Config = XElement.Parse(config),
References = string.Join(";", references.Select(r => Path.Combine(currentDirectory, r))),
ReferenceCopyLocalPaths = references.Select(r => Path.Combine(currentDirectory, r)).ToList(),
AssemblyResolver = new TestAssemblyResolver()
};

if (!Path.IsPathRooted(assemblyPath))
Expand Down
2 changes: 1 addition & 1 deletion src/Costura.Fody/AssemblyLoaderImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ private void ImportAssemblyLoader(bool createTemporaryAssemblies)
{
var readerParameters = new ReaderParameters
{
AssemblyResolver = AssemblyResolver,
AssemblyResolver = ModuleDefinition.AssemblyResolver,
ReadSymbols = true,
SymbolReaderProvider = new PdbReaderProvider(),
SymbolStream = GetType().Assembly.GetManifestResourceStream("Costura.Template.pdb"),
Expand Down
3 changes: 0 additions & 3 deletions src/Costura.Fody/ModuleWeaver.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
using System.Collections.Generic;
using System.Diagnostics;
using Fody;
using Mono.Cecil;

public partial class ModuleWeaver: BaseModuleWeaver
{
public IAssemblyResolver AssemblyResolver { get; set; }

public override void Execute()
{
//#if DEBUG
Expand Down

0 comments on commit 695ba2e

Please sign in to comment.