cadru icon indicating copy to clipboard operation
cadru copied to clipboard

Bumped version and failed to load Validation

Open Jetski5822 opened this issue 3 years ago • 1 comments

I bumped to the latest version of the lib Cadru.Polly 5.0.7, and get this;

System.IO.FileNotFoundException : Could not load file or assembly 'Validation, Version=2.5.0.0, Culture=neutral, PublicKeyToken=2fc06f0d701809a7'. The system cannot find the file specified.

Stack Trace: SqlStrategyBuilder.ctor(IEnumerable1 exceptionHandlingStrategies, SqlStrategyOptions strategyOptions) SqlServerStrategyBuilder.ctor(IEnumerable1 exceptionHandlingStrategies, SqlStrategyOptions strategyOptions) SqlServerStrategyBuilder.get_Default()

Jetski5822 avatar Mar 11 '21 10:03 Jetski5822

Looks like the NuGet package for Cadru.Polly doesn't have the Validation package as a dependency. Manually add Validation v2.5.5-beta to the same project where you installed Cadru.Polly and all is well.

martyt avatar Apr 06 '21 15:04 martyt