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

Microsoft.Devices.Tpm is not compatible with .Net Core #57

@haidersabeeh

Description

@haidersabeeh

Hello Team,
this is in regard to an issue for the Starbucks team;

Issue Summary:
Starbucks is attempting to utilize Microsoft.Devices.Tpm package into a .Net Core IoT Client solution but get a warning that is treated as an error. For reference purposes I have provided the error provided below. The NuGet package being referenced is this one: NuGet Gallery | Microsoft.Devices.Tpm 1.0.0

Warning NU1701: Package 'Microsoft.Devices.Tpm 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

Starbucks team were able to reproduce it by just creating a new .Net Core console app and then adding the library.

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