Not specifically an Orchard CMS question, but I use Orchard.Web (pre-compilation) in WebMatrix and then click to open in VS2010.
There is no build, I get that.
But is there a way to get the autocomplete/intellisense (not sure what it’s called), so that within a View.cshtml when I insert “using Model” and then “@model Model” on the top, and then within my Html.BeginForm when I type “@Model.[NAME]” I get options for which NAME I want to use?
Or am I off base and out of luck? 🙂
Is
Modelreally the name of your model? At the top of your view you should have:And to access your Model’s properties, you’d do something like
YourModelClassName.YourProperty.By that quote, are you thinking you’ll be able to access what would be stored in the
NAMEproperty of your Model? Intellisense won’t give you that. That’s only available at the runtime.Edit You need to build your project before your View can utilize Intellisense.