Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Use the project.lock.json to determine the compatible framework for projects #2635

Closed
wants to merge 5 commits into from

Conversation

davidfowl
Copy link
Member

This removes the last set of nuget code that the runtime uses to determine compatibility. All compatibility moves to restore and the runtime just reads the lock file to build a model. This is the final part of #2622

/cc @anurse

{
targetFrameworkInfo = compatibleConfigurations.FirstOrDefault();
}

return targetFrameworkInfo ?? _defaultTargetFrameworkConfiguration;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't need the targetFrameworkInfo ?? part

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind

@BrennanConroy
Copy link
Member

Squash, copyright and :shipit:

@davidfowl
Copy link
Member Author

This is merged. Feel free to keep reviewing.

@davidfowl davidfowl closed this Sep 4, 2015
@davidfowl davidfowl deleted the davidfowl/no-runtime-tfm branch September 19, 2015 20:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants