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

NU1701 when adding build task to .NETStandard 2.0 project #103

Closed
carstencodes opened this issue Dec 15, 2022 · 1 comment
Closed

NU1701 when adding build task to .NETStandard 2.0 project #103

carstencodes opened this issue Dec 15, 2022 · 1 comment
Labels
limitation This is a known limitation

Comments

@carstencodes
Copy link
Member

Description

Adding the package dSPACE.Runtime.InteropServices.BuildTasks package (added in #102) to projects targetting .NET Standard 2.0 causes NuGet restore to issue a NU1701 warning.
This is due to the fact, that no group for .NET Standard 2.0 is created in the resulting NuGet package.

Accepted workaround is currently, that the package must be added with ItemMetadata NoWarn="1702".

Severity

Major

(.NET Standard 2.0 is losing ground, Workaround exists)

How to reproduce

Add the build task to a project targeting .NET Standard 2.0. Run the restore.

Acceptance criteria

The NU1701 warning must not appear.

@marklechtermann marklechtermann added the limitation This is a known limitation label Jan 5, 2023
@marklechtermann
Copy link
Member

.NET Standard is not in focus of this project any more. Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
limitation This is a known limitation
Projects
None yet
Development

No branches or pull requests

2 participants