Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

View Model classes not updated in azure

$
0
0

My site is down now as I have updated RegisterViewModel and tested it locally and it worked fine. I added a new field 'Notifications'
however after publishing to azure my site crashes with the following error:

'RegisterViewModel' does not contain a definition for 'Notifications'

More details here:

An unhandled exception has occurred: One or more compilation failures occurred:
3cmgspbk.ncu(571,3721): error CS1031: Type expected
3cmgspbk.ncu(571,3935): error CS1031: Type expected
3cmgspbk.ncu(571,3777): error CS1061: 'RegisterViewModel' does not contain a definition for 'Notifications' and no extension method 'Notifications' accepting a first argument of type 'RegisterViewModel' could be found (are you missing a using directive or an assembly reference?)
3cmgspbk.ncu(571,3991): error CS1061: 'RegisterViewModel' does not contain a definition for 'Notifications' and no extension method 'Notifications' accepting a first argument of type 'RegisterViewModel' could be found (are you missing a using directive or an assembly reference?)
Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException: One or more compilation failures occurred:


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>