Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Upgrade to EpiServer 11 with ImageVault not working

Vote:
 

After upgrading EpiServer to 11 and Imagevault to 11.6.4 (latest which "should" support EPi 11) we get:

Severity Code Description Project File Line Suppression State
Error CS0012 The type 'IContainer' is defined in an assembly that is not referenced. You must add a reference to assembly 'StructureMap, Version=4.5.1.0, Culture=neutral, PublicKeyToken=null'. .....\IntegrationDependencies.cs 39 Active

Seems to be a conflict between Episerver.ServiceLocation.Structuremap and Structuremap


Anyone found a solution to this? Upgrade to Epi11 worked but as soon as we upgraded ImageVault errors occured!

Edit:

Solved, sort of, have to upgrade to EPi 13.2.1 as max version due to StructureMap.Servicelocation 2.0 breaks ImageVault. However, 13.2.1 only requires StructureMap.Servicelocation 1.0

#188228
Edited, Feb 15, 2018 9:47
Vote:
 

I believe the issue is caused by limitations in how Nuget is handling old dependencies.
Try to uninstall structuremap-signed and imagevault.common.structuremap and recompile.

#188330
Feb 20, 2018 10:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.