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

Enable providing the dependencies section, for it has an effect in selecting the nearest framework #14

Closed
moh-hassan opened this issue Sep 7, 2018 · 2 comments

Comments

@moh-hassan
Copy link

In net461 projects, nuget may select the netstandard as the Nearest Framework, see the example

An empty dependency group in the dependencies section will modify the Nearest Framework to be ,e.g, net45.

So, the dependencies section should be exist and evaluated in the same way as nuget tool.

   <dependencies>
    <group targetFramework="net45"/>    <!-- without this line nuget will select netstandard15 as nearest -->   
    <group targetFramework=".NETStandard1.5">
    <dependency id="System.Collections" version="4.0.11-rc2-24027" />
    <dependency id="System.Console" version="4.0.0-rc2-24027" />
      ........
 </group>
@joelverhagen
Copy link
Owner

Sorry about the... very long delay.

Could you help me understand where you would expect the dependencies section to be provided? Which tool? A new one? Or as an option to provide on the Framework > Get Nearest Framework tool?

You could test this case like this:
https://nugettoolsdev.azurewebsites.net/5.3.0/get-nearest-framework?project=net461&package=net45%0D%0A.NETStandard1.5

@joelverhagen
Copy link
Owner

Closing since I have not heard back. Feel free to file another issue if you're still interested.

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

2 participants