Cauldron icon indicating copy to clipboard operation
Cauldron copied to clipboard

[Cauldron.Interception.Fody] Wrong version of Cauldron.Interception.Fody referenced

Open Dhairya-Sangoi opened this issue 5 years ago • 3 comments

Hey,

I have a doubt regarding how Fody chooses which version of the weaver to use.

Let's say, there is a solution having multiple projects, each using different version of Cauldron (Cauldron.BasicInterceptors). Each version of Cauldron brings a corresponding compatible version of Cauldron.Interception.Fody (which is the actual addin of Fody). Now, will Fody choose right version of Cauldron.Interception.Fody, or it would always choose the latest version available in the packages folder?

If we try to build such a solution, then the build fails for the project consuming lower version of Cauldron. I guess this is the expected behavior.

The link AddinSearchPaths mentions that Fody would always take the latest version of the addin.

Could you please help by asserting this assumption.

Dhairya-Sangoi avatar Oct 23 '18 18:10 Dhairya-Sangoi