>
4) Specify the location to Save your site definition and also specify the project name.;
5) Finally press finish to proceed with generating the solution.
6) Click on "Click here to open the generated solution".
7) The result is a C# site definition solution with the following elements in it:
8) Start debbuging the solution. The following is the output.
—— Build started: Project: Oz Site Definiton, Configuration: Debug Any CPU ——
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.dll" /reference:"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\ISAPI\Microsoft.SharePoint.Security.dll" /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Web.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.XML.dll /debug+ /debug:full /keyfile:Properties\Temporary.snk /optimize- /out:obj\Debug\Oz_Site_Definiton.dll /target:library Properties\AssemblyInfo.cs "Site Provisioning Handler\SiteProvisioning.cs" "Site Provisioning Handler\SiteProvisioning.Internal.cs"
Compile complete — 0 errors, 0 warnings
Oz Site Definiton -> C:\Documents and Settings\uzubair\My Documents\SharePoint Definitions\Oz Site Definiton\bin\Debug\Oz_Site_Definiton.dll
—— Deploy started: Project: Oz Site Definiton, Configuration: Debug Any CPU ——
—— Generate Oz_Site_Definiton.wsp file and setup batch file——
Creating solution …
Operation completed successfully.
Creating setup batch file …
Operation completed successfully.
—— Add and deploy Oz_Site_Definiton.wsp to the SharePoint ——
Adding solution …
Operation completed successfully.
Deploying solution …
Operation completed successfully.
—— Activate features in solution if necessary ——
No features in this solution were activated
Restarting IIS …
Operation completed successfully.
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========
9) We can now create an instance of our new site definition. If we go to the create site screen there appeared an extra template selection tab called "Development" where our new site definition appears:
10) Select your definition as a site template and create site and it all works !!
Sanaa said
Very good overview of the Solution generator ! Impressive !
Unknown said
Hi,Do you have second hand lcds, used laptop lcds and used LCD displays? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels.We recycled LCDs.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
Contact Us
E-mail:sstar@netvigator.com
website:www.sstar-hk.com[acihadhfgiaicc]
Unknown said
Hi,Do you need advertising displays, screen advertisings, digital sign, digital signages and LCDs? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
amberdigital Contact Us
website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[edfcjdbgaeibbh]
Unknown said
Hi,Do you need digital signages, advertising displays, digital sign, advertisement displays and advertising players? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
amberdigital Contact Us
website:www.amberdigital.com.hk
alibaba:amberdigital.en.alibaba.com[idgdgghgcgeijh]
Артем said
Hi! Why the Solution Generator changes Name attribute in list definitions to russian names from the DisplayName attribute? It takes time to manually change it back ((( How to fix it?