Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi I used to have Contour running on a project but I recently tried to load the project on a new hard drive (same machine) and Conour doesn't run.I am using Umbraco version umbraco v 4.11.6 and I think it's version 3 of contour although I can't easily find what version it is.The problem I get is:c:\Projects\...\umbraco\plugins\umbracoContour\Views\Script.cshtml(2): error CS1525: Invalid expression term 'abstract'So the problem is on line 2 of Script.cshtm file:
@using Umbraco.Forms.Core
@abstract Umbraco.Forms.MVC.Extensions <-- abstract isn't understood
@using Umbraco.Forms.Mvc.Models
Since Contour can't understand something so fundamental as the "abstract" keyword, I am guessing this could be a problem relating to .NET or MVC version?Any ideas what it could be?Project is running on .NET 4.5 with MVC 3Thank you
Comment author was deleted
By default the top of that file looks like
@inherits WebViewPage<Umbraco.Forms.Mvc.Models.FormViewModel>
@using Umbraco.Forms.Mvc.BusinessLogic
@using Umbraco.Forms.MVC.Extensions
So I'm assuming you changed something? Try changing abstract to using again
This is very odd.This fixed it. Need to investigate how it got mangled like that, I suspect maybe resharper automated clean tool might have done it.Regardless, thank you very much
Ok glad it's working now :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Problem running Contour
Hi
I used to have Contour running on a project but I recently tried to load the project on a new hard drive (same machine) and Conour doesn't run.
I am using Umbraco version umbraco v 4.11.6 and I think it's version 3 of contour although I can't easily find what version it is.
The problem I get is:
c:\Projects\...\umbraco\plugins\umbracoContour\Views\Script.cshtml(2): error CS1525: Invalid expression term 'abstract'
So the problem is on line 2 of Script.cshtm file:
@using Umbraco.Forms.Core
@abstract Umbraco.Forms.MVC.Extensions <-- abstract isn't understood
@using Umbraco.Forms.Mvc.Models
Since Contour can't understand something so fundamental as the "abstract" keyword, I am guessing this could be a problem relating to .NET or MVC version?
Any ideas what it could be?
Project is running on .NET 4.5 with MVC 3
Thank you
Comment author was deleted
By default the top of that file looks like
@inherits WebViewPage<Umbraco.Forms.Mvc.Models.FormViewModel>
@using Umbraco.Forms.Core
@using Umbraco.Forms.Mvc.Models
@using Umbraco.Forms.Mvc.BusinessLogic
@using Umbraco.Forms.MVC.Extensions
So I'm assuming you changed something? Try changing abstract to using again
This is very odd.
This fixed it. Need to investigate how it got mangled like that, I suspect maybe resharper automated clean tool might have done it.
Regardless, thank you very much
Comment author was deleted
Ok glad it's working now :)
is working on a reply...