MMM
MMM

Reputation: 321

umbraco project in VS2012 - how?

Now it's my turn to ask this question..

I've been reading about setting up an umbraco project in VS2012 but i really don't know if im doing it worng, or if it's just not possible..

Is it possible to setup an umbraco project in VS2012 with ability to add templates, and documenttypes and create sites and more with VS2012 without using the umbraco admin tool? :-)

Upvotes: 2

Views: 961

Answers (1)

Grant Thomas
Grant Thomas

Reputation: 45083

Yes, in fact, only 2 minutes ago I finished checking in a brand new project, a VS2012 solution housing an Umbraco v6 website.

My solution/directory setup is particular, and no doubt yours is too, but the bottom line is that the Umbraco is just an ASP.NET website, so you can add it to a solution using thew "Add existing website" option, to the root or subdirectory of your will.

Then you can use the Solution Explorer to edit files such as those in the css, masterPages, and macroScripts folder etc.

One note of caution would be this. When using 'Umbraco scripts' (i.e. Razor scripting files and such) then, when created in the Umbraco UI, a calling Macro is also created (by default, though there is an opt-out) and (historically) some database goings-on, and so in the case of scripts, I think it's always wise to initially create them using the Umbraco UI.

Other than that, are you having a specific problem, as I don't see you point one out?

Upvotes: 1

Related Questions