I am encountering an issue when I upload my module's nuget package to a production environment. When I package my module up into a nuget package and then open it locally, in NuGet package explorer, it has "Mcrf.ProfilesWeb.Contracts, Version=1.0.1.1" inside.
When I install my module package on the Orchard CMS, my page fails and when checking the error log, I see:
"System.TypeLoadException: Could not load type 'Mcrf.ProfilesWeb.Contracts.ProfileList' from assembly 'Mcrf.ProfilesWeb.Contracts, Version=1.0.0.4, Culture=neutral, PublicKeyToken=null'."
I've ensured numerous times that the module package is 100% correct, it seems as though the production environment Orchard site doesn't update the contract when installing.
Any help would be much appreciated.
Thank you,
Roka