I have problems when trying to deploy code to our test environment. The code im trying to deploy is a hotfix on production branch, and because of that the version number is lower then the version number of current development branch.
In EPiServer Admin --> Page Type --> MyPageType I now have the have a warning... "Changes in the model for this page type were ignored because its version(22.214.171.124) is lower than version in the database(2013.7.2.0)."
Database has higher priority then code. So my new properties for the pagetype does not exist.
How can I solve this? Is there any way to make Epi Understand that I want to run the lower version number?
SET [ModelType] = REPLACE(ModelType, ', Version=x.0.0.0,', ', Version=y.0.0.0,')
WHERE ModelType like '%, Version=x.0.0.0,%'
@Simon: I tried this, but I'm stilling getting warning messages, but it's complaining about some other version than the original one (and not the version I set the models to be).
I would check the version of your build in the AssemblyInfo.cs -> AssemblyVersion to match or be greater than the one your database thinks it needs, this isnt really a solution though.
To get a definite answer, you can run a SELECT on that table's ModelType field and see what versions are being referenced in there then replace with the version your DLLs are building under.
Hope this helps