-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Future of incompatible-TF checks #1122
Comments
I can see a few options:
|
Discussed this with @livarcocc @dsplaisted @nguerrera and some others on Monday. Consensus is that losing the checks is bad and we shouldn't do that. One possible implementation of "check on the consuming side" would be to make a new compatibility check, decoupled from its current home in NuGet. |
Due to lack of recent activity, this issue has been labeled as 'stale'. It will be closed if no further activity occurs within 30 more days. Any new comment will remove the label. |
This issue will now be closed since it has been labeled 'stale' without activity for 30 days. |
I'm separating out an issue that I noticed while testing the fix for dotnet/msbuild#1276 (in the form of dotnet/msbuild#1866 + #993) so we can discuss it without the confusion of the other parts of the change.
In the 1.0 SDK + common targets, projects always ask their references "what framework should I build you for, given that I am TF {x}?". That enables
GetNearestTargetFramework
to error out if there is no compatible TF in the reference (for example, if anetstandard1.2
project references anetstandard1.5
project).If we go ahead with my proposal that avoids extra evaluation overhead, we won't be able to preserve this behavior for free, because it requires knowledge of both referring TF and referred TFs--and the only way to pass referring TF down to the reference is by evaluating it with a global property, which is the performance problem we are trying to avoid!
How bad would losing this behavior be?
@nguerrera @livarcocc @AndyGerlicher
The text was updated successfully, but these errors were encountered: