Skip to content

XUnit templates refers coverlet which is not compatible with WPF projects #296

@lg2de

Description

@lg2de

The default template for XUnit projects (maybe also for other test frameworks) references the project coverlet.collector.
Coverlet is currently not compatible with projects with WPF option. Testing WPF projects with Coverlet, the coverage fails with

Unable to instrument module: \Module.dll because : AssemblyResolutionException for 'PresentationFramework, Version=

I've two questions:

  1. Are you aware about the incompatibility of the default template with WPF projects?
  2. With Fix resolving assemblies from frameworks not referenced by coverlet itself coverlet-coverage/coverlet#1449 I tried already to fix the problem, but the feedback is as slow as the whole project in my eyes. Is this the best selection for the default template of the .NET SDK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions