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

<NoWarn>NU1701</NoWarn> ignored on project reference #869

Closed
ghost opened this issue Aug 19, 2017 · 1 comment
Closed

<NoWarn>NU1701</NoWarn> ignored on project reference #869

ghost opened this issue Aug 19, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 19, 2017

NU1701 ignored on project reference

Despite adding the <NoWarn>NU1701</NoWarn> on all my project reference like this:

<ProjectReference Include="..\Reports\Reports.csproj">
   <NoWarn>NU1701</NoWarn>
</ProjectReference>

I still get the warning message

NU1701: Package 'Teradata.Net.Data.Provider 15.11.0.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

Also on publishing Nugget and adding <NoWarn>NU1701</NoWarn to my nugget package:

> <PackageReference Include="Carbon.ClientQueries" Version="0.0.1.16-Preview">
>       <NoWarn>NU1701</NoWarn>
> </PackageReference>

I keep getting warning:

NU1701: Package 'Teradata.Net.Data.Provider 15.11.0.1' was restored using '.NETFramework,Version=v4.6.1' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project.

I think this is because my nugget has a reference to a project reference of my solution like this:
image

@Petermarcu
Copy link
Member

closing because I moved it to NuGet/Home#5999

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

No branches or pull requests

1 participant