Skip to content

Commit

Permalink
Fix resolving assembly issue for `Microsoft.Extensions.DependencyInje…
Browse files Browse the repository at this point in the history
…ction.Abstractions` (#1654)

* changed order of assembly resolvers

* update change log

---------

Co-authored-by: David Mueller x <david.x.mueller@getinge.com>
  • Loading branch information
daveMueller and David Mueller x committed May 5, 2024
1 parent 0e6520f commit 07d5f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased

### Fixed
- Fix Unable to instrument module - NET 8 [#1631](https://github.com/coverlet-coverage/coverlet/issues/1631)
- Fix slow modules filtering process [#1646](https://github.com/coverlet-coverage/coverlet/issues/1646) by https://github.com/BlackGad
- Fix incorrect coverage await using in generic method [#1490](https://github.com/coverlet-coverage/coverlet/issues/1490)

Expand Down
2 changes: 1 addition & 1 deletion src/coverlet.core/Instrumentation/CecilAssemblyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ public NetstandardAwareAssemblyResolver(string modulePath, ILogger logger)
// runtime folders are different
_compositeResolver = new Lazy<CompositeCompilationAssemblyResolver>(() => new CompositeCompilationAssemblyResolver(new ICompilationAssemblyResolver[]
{
new NetCoreSharedFrameworkResolver(modulePath, _logger),
new AppBaseCompilationAssemblyResolver(),
new PackageCompilationAssemblyResolver(),
new NetCoreSharedFrameworkResolver(modulePath, _logger),
new ReferenceAssemblyPathResolver(),
}), true);
}
Expand Down

0 comments on commit 07d5f77

Please sign in to comment.