There were a few breaking changes between the different RC releases - usually listed in the blog post for each update (e.g. this one) - so it's not too surprising you've hit something that needs to be changed before you can recompile.
Would suggest checking those posts and if that doesn't help, sharing the details of the error messages and hopefully someone here can assist.
MediaWithCrops is in the namespace Umbraco.Cms.Core.Models, so that's why it's complaining here.
It looks like those generated models were created from the RC1 (judging by the GeneratedCodeAttribute), so yes, seems you need to get your models re-generated again now you've upgraded.
Going from v9 prerelease to release
Hey
I have been using the v9 prerelease for building my first Umbraco page but now that the release is out I would like to upgrade.
So far I updated the Nuget package (Umbraco.Cms 9.0.0-rc001 -> 9.0.1) which has resulted in building errors and I can no longer run the website.
Would appriciate if some one could set me in the right direction.
There were a few breaking changes between the different RC releases - usually listed in the blog post for each update (e.g. this one) - so it's not too surprising you've hit something that needs to be changed before you can recompile.
Would suggest checking those posts and if that doesn't help, sharing the details of the error messages and hopefully someone here can assist.
Andy
So as I'm not realy sure on what to look for Ill give it a go and post the issues here.
All the errors are related to the generated models just like this ->
So I guess my issue is getting the models generated by the new release?
MediaWithCrops is in the namespace
Umbraco.Cms.Core.Models
, so that's why it's complaining here.It looks like those generated models were created from the RC1 (judging by the
GeneratedCodeAttribute
), so yes, seems you need to get your models re-generated again now you've upgraded.Andy
Thanks for the quick reply. I will give it a go :)
is working on a reply...