Tool dependecies versioning issues
See original GitHub issueWhen 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:
- Created 7 years ago
- Comments:35 (25 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
This got fixed with https://github.com/dotnet/cli/pull/2316. Closing the issue.