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
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? :-)
vs 2010 or vs2012 ?
We are moving over to 2012 now, so 2012 if you have it. 2010 if you dont! :-)
Got it working vs2012 https://dl.dropbox.com/u/886345/TestIntellisense.zip
It's the inherits that does the trick
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
Perfect :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.