-
Notifications
You must be signed in to change notification settings - Fork 249
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 - Change the wording of this warning #5538
Comments
@anangaur would you take a look at the text of this message? |
I like the first suggestion. I would avoid the use of Proposed text:
|
Sounds good to me, if you want I can create a PR
…--
----------
On Wed, Jul 5, 2017 at 7:27 PM, Anand Gaurav <notifications@github.com> wrote:
I like the first suggestion. I would avoid the use of PackageTargetFallback
or AssetTargetFallback terms here as that's unnecessary confusion.
Proposed text:
/api/api.csproj : warning NU1701: Package 'Faker.Net 1.0.3' was restored
using '.NETFramework,Version=v4.6.1' instead the project target framework
'.NETCoreApp,Version=v2.0'. This package may not be fully compatible with
your project.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5538 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAK_3bzdTJ4YK6a3jPShwkUceMbGAtWNks5sLBvLgaJpZM4OOgfK>
.
|
Sure. Go ahead. :) |
Should I update the message in https://github.com/NuGet/NuGet.Build.Localization? I obviously can't update all the translations :) |
@g0t4 you don't need to worry about localization, that will be updated later. |
…project." The previous message "This may cause compatibility problems" felt ominous. As if I had done something wrong. The new message is designed to indicate that the package could be partially, or fully, compatible. Also it re-iterates that the package is the potential source of incompatibility. This to mean comes across as saying "this isn't necessarily a problem" This resolves NuGet/Home#5538
PR ready, do we need to do anything to make sure that the wiki and localization get updated? Create issues? wiki: https://github.com/NuGet/Home/wiki/Restore-errors-and-warnings#nu1701 |
@g0t4 you don't have to worry about localization at all. |
…project." The previous message "This may cause compatibility problems" felt ominous. As if I had done something wrong. The new message is designed to indicate that the package could be partially, or fully, compatible. Also it re-iterates that the package is the potential source of incompatibility. This to mean comes across as saying "this isn't necessarily a problem" This resolves NuGet/Home#5538
I made the changes to the wiki |
In a netcoreapp2.0 project, if I add a package that targets net461, I get a new warning as of 2.0 preview2:
I had a hunch that this was just warning me about the new behavior in 2.0 to reference netfx packages. But I wasn't certain from the message alone. Upon looking up
NU1701
here https://github.com/NuGet/Home/wiki/Restore-errors-and-warnings#nu1701 I found an explanation that I understood:Two things helped me verify what the warning was really about:
PackageTargetFallback was used to select assets
andmay not be 100% compatible
Could we use some of this explanation in the warning?
Perhaps:
or
The text was updated successfully, but these errors were encountered: