Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RuntimeConfigurationReader to support SelfContained builds #1705

Merged

Conversation

pfeigl
Copy link
Contributor

@pfeigl pfeigl commented Oct 21, 2024

SelfContained builds to not contain the frameworks node in the runtimeconfig.json file. They do however contain a includedFrameworks node. Details can be found here: dotnet/sdk#3541

Running tests against a built assembly with the SelfContained option does result in the following often discussed error message

Unable to instrument module

SelfContained builds to not contain the `frameworks` node in the `runtimeconfig.json` file.
They do however contain a `includedFrameworks` node. Details can be found here: dotnet/sdk#3541

Running tests against a built assembly with the `SelfContained` option does result in the following often discussed error message
> Unable to instrument module
@pfeigl
Copy link
Contributor Author

pfeigl commented Oct 21, 2024

@dotnet-policy-service agree company="Cyan IT GmbH"

@pfeigl
Copy link
Contributor Author

pfeigl commented Nov 5, 2024

Anything I can do, to push this forward? :-)

@MarcoRossignoli MarcoRossignoli merged commit c2e6aee into coverlet-coverage:master Nov 18, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants