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.

Wrong dependency on CacheTower 1.0.0

See original GitHub issue

What does the bug do?

Prevents installation of CacheTower.Providers.Redis (and maybe others).

How can it be reproduced?

Install CacheTower.Providers.Redis version 0.10.0. It has declared dependency on CacheTower version 1.0.0 which doesn’t exist. So, it fails with error:

error NU1102: Unable to find package CacheTower with version (>= 1.0.0)

Environment

  • NuGet Package Version: 0.10.0
  • .NET Runtime Version: .NET 5.0.302
  • Operating System: Windows

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Turnerjcommented, Aug 11, 2021

Version 0.11.0 released that has the package reference issue fixed! Sorry for the hassle with that!

1reaction
mgoodfellowcommented, Aug 11, 2021

Interestingly the 0.9.0 packages such as redis provider etc, seem to be tightly bound to the 0.9.0 core package of CacheTower.

I have tried to get 0.10.0 core working with the 0.9.0 provider/extensions providers, and everything looks right in the deps.json but I get a runtime failure when the provider package is loaded.

'[app].exe' (CoreCLR: clrhost): Loaded 'C:\[app]\bin\Debug\net5.0\CacheTower.Providers.Redis.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
Exception thrown: 'System.IO.FileNotFoundException' in [app].dll
An exception of type 'System.IO.FileNotFoundException' occurred in [app].dll but was not handled in user code
Could not load file or assembly 'CacheTower, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

I will await your next release, as it is probably easier, but I have tried the various tricks to force bindings to a specific version (obvs binding redirects are a .NET Framework only thing), but I haven’t managed to get it to load

Read more comments on GitHub >

github_iconTop Results From Across the Web

caching node_modules and wrong dependency version
Seems like an odd issue with npm's dependency resolution. It's probably best to just remove the existing cache and create a new one....
Read more >
Maven: Incorrect (and flaky) transitive dependency version
Dependency mediation - this determines what version of a dependency will be used when multiple versions of an artifact are encountered.
Read more >
Tell gradle not to cache snapshot dependencies ...
Hi gradle team and users, I'm running Gradle 3.0 with JFrog Artifactory. I use the ArtifactoryPlugin and DependencyManagement plugin, ...
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