Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Missing assembly reference for .NETFramework,Version=v4.7.2 [Microsoft.Management.Infrastructure.Runtime.Win] #48

@nicovv44

Description

@nicovv44

Hi,

Trying to install the package Microsoft.Management.Infrastructure.Runtime.Win with NuGet for VisualStudio, I run into this error:

Severity Code Description Project File Line Suppression State
Error Could not install package 'Microsoft.Management.Infrastructure.Runtime.Win 2.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.7.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

Context:
I was trying to publish an application but I ran into

Strong name signature not valid for this assembly Microsoft.Management.Infrastructure.dll.

So I tried to reinstall Microsoft.Management.Infrastructure but Microsoft.Management.Infrastructure.Runtime.Win is a dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions