question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tool dependecies versioning issues

See original GitHub issue

When you build a tool that uses NetCore.App version that you don’t have installed the tool does not work at all. Example: I compiled the tool against NetCore.App 23911 and 23923 ( “Microsoft.NETCore.App”: { “type”: “platform”, “version”: “1.0.0-rc2-23911” } } ) and it did not work because: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\1.0.0-rc2-23924

When I compiled against 23924 the tool worked.

Since projects using tools don’t control what versions of dependency a tool is using it defeats the purpose of a shared framework since in the end you will need a version of a framework that corresponds to the dependency of the tool.

Also the message is quite confusing as well:

Could not load host policy library []

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:35 (25 by maintainers)

github_iconTop GitHub Comments

3reactions
muratgcommented, Apr 4, 2016

@blackdwarf We’ll be rolling newer versions between RC2 and RTM. Don’t we want to keep RC2 users be able to update the CLI so that they can use newer bits?

I feel like the current design is too restrictive. Ideally risk of breaking due to roll-forward is more acceptable than forcing folks to use exact versions.

0reactions
gkhanna79commented, Apr 7, 2016

This got fixed with https://github.com/dotnet/cli/pull/2316. Closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency hell
JAR hell – a form of dependency hell occurring in the Java Runtime Environment before build tools like Apache Maven solved this problem...
Read more >
How to Automatically Eliminate Dependency Hell
See how the ActiveState Platform compares with other common dependency management tools.
Read more >
TL; DR Java Dependency Management is mostly broken. ...
You can use Google's Open Source Insights tool to find your consumers and use their tests to validate that your changes will not...
Read more >
Version after dependency changes? · Issue #148 · semver ...
User attempts to install Tool 1.0.0 and the latest version of Library ( 1.0.1 ), expecting patch level to not have a significant...
Read more >
How to handle dependency source version issues
Note 1: Dependencies are not meant to be only source codes, they might be simply some tools in binary format. In this case...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found