Setting up a Sitecore project works with both versions 5.3 and 6

October 6, 2008

Sitecore(SC) has a decent article on how to set up a Sitecore project on Visual Studio. This is a pretty good start but it does not quite meet our company’s requirements.

In this blog post I will attempt to tell you exactly how a structure a project assuming that you have the following requirements for your SC environment:

  • You need to have multiple websites running on one instance of SC and you want each website to have its own Visual Studio project.
  • You are not using a virtual folder per website.
  • You want to manage multiple Class Library/Child projects within each website project.
  • You want to keep the Renderings, Sub-layouts, Layouts, Associated files (css, js etc) and DLL’s of each website independent.

Our company has worked with multiple projects in Sitecore v5.3 and we have also Started a new project using Sitecore v6 (Visual Studio 2005 and 2008). I can safely say that we have come up with a tried and proven project structure that I can recommend that everyone can and should use. Please follow the SC developer cookbook if you are only going to ever have one website running on your instance of SC.

There is a fair bit to write on this entry and I will be slowly updating it, if anyone is in desperate need to this information right now then please leave a comment and I will try to speed things up!

Read the rest of this entry »