I'm trying to use contour in an MVC project in visual studio in an attempt to retain as much intellisense goodness as possible.
Is this achievable when creating custom field and form views? I've created a standard MVC 3 project and modified the web.configs to use referenece the macroEngines library.
Using contour in an MVC Visual Studio project
Hi Tim
I'm trying to use contour in an MVC project in visual studio in an attempt to retain as much intellisense goodness as possible.
Is this achievable when creating custom field and form views? I've created a standard MVC 3 project and modified the web.configs to use referenece the macroEngines library.
But when I create the folllowing...
model does not exist in the current context.
I've also added Umbraco.Forms.Mvc as a reference. Along with the usual core umbraco and contour libraries.
Any ideas?
Martin
Comment author was deleted
Hmm not sure what exaclty is needed for that, maybe google knows ;) will give it a test myself
If you manage to get the project working, can you send it to me? :-)
Comment author was deleted
vs 2010 or vs2012 ?
We are moving over to 2012 now, so 2012 if you have it. 2010 if you dont! :-)
Comment author was deleted
Got it working vs2012 https://dl.dropbox.com/u/886345/TestIntellisense.zip
It's the inherits that does the trick
Comment author was deleted
Maybe try changing
to
in your example aboveHi Tim
I used your project as an example to copy over the necessary references and config and all working now.
Many thanks
Martin
Comment author was deleted
Perfect :)
is working on a reply...