updated getting started to include info on  building templates for source only 
distributions


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/22cdc5a1
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/22cdc5a1
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/22cdc5a1

Branch: refs/heads/master
Commit: 22cdc5a1bf43cd4015221558804ba2a809aab40a
Parents: b1dd2d3
Author: purplecabbage <purplecabb...@gmail.com>
Authored: Tue Oct 2 13:35:43 2012 -0700
Committer: purplecabbage <purplecabb...@gmail.com>
Committed: Tue Oct 2 13:35:43 2012 -0700

----------------------------------------------------------------------
 .../guide/getting-started/windows-phone/index.md   |   16 +++++++++++++-
 .../guide/getting-started/windows-phone/index.md   |   16 ++++++++++++++-
 2 files changed, 29 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/22cdc5a1/docs/en/2.1.0/guide/getting-started/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/en/2.1.0/guide/getting-started/windows-phone/index.md 
b/docs/en/2.1.0/guide/getting-started/windows-phone/index.md
index 4a7374e..9070022 100644
--- a/docs/en/2.1.0/guide/getting-started/windows-phone/index.md
+++ b/docs/en/2.1.0/guide/getting-started/windows-phone/index.md
@@ -47,10 +47,22 @@ Necessary for Installing on Device and Submitting to Market 
Place:
 - Download and install [Windows Phone  
SDK](http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=27570/)
 - Download the latest copy of [Cordova](http://phonegap.com/download) and 
extract its contents. We will be working with the subfolder: lib\windows-phone\
 - copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual 
Studio 2010\Templates\ProjectTemplates\
+( if the template file does not exist, you will need to build it. See 2.1 
below )
 if you have just installed VisualStudio, you should launch it once to create 
this folder
-if you prefer, you may add the project instead to the "Silverlight for Windows 
Phone" subfolder of "Visual C#". This is up to you, and only affects where the 
project template is shown when creating a new project. Also, You may need to 
create this folder.
+if you prefer, you may add the project instead to the "Silverlight for Windows 
Phone" subfolder of "Visual C#". This is up to you, and only affects where the 
project template is shown when creating a new project. Also, You may need to 
create this folder. 
 
 
+2.1. Building the template
+-----------------------------
+( note, this step may not be required.  If the lib\windows-phone directory 
already contains a file CordovaStarter-x.x.x.zip then you may skip this step )
+- Open the file lib\windows-phone\templates\standalone\CordovaSolution.sln in 
Visual Studio Express for Windows Phone
+- From the file menu, select 'Export Template...' 
+- Choose template type 'Project template'
+- Give the exported template a name, ex. CordovaStarter-2.1.0 will produce 
CordovaStarter-2.1.0.zip
+- Optionally, you may add a description, icon image, and Preview image.  These 
are what is displayed in Visual Studio in the 'New Project' dialog.- 
+- Note: If you select ( 'Automatically import the template ... ') then you 
will not need to copy the .zip file over as outlined in step 2.
+- Press 'Finish'
+
 
 3. Setup New Project
 --------------------
@@ -62,7 +74,7 @@ if you prefer, you may add the project instead to the 
"Silverlight for Windows P
 
     ![](img/guide/getting-started/windows-phone/wpnewproj.PNG)
 
- 
+
 4. Review the project structure
 -------------------------------
 

http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/22cdc5a1/docs/en/edge/guide/getting-started/windows-phone/index.md
----------------------------------------------------------------------
diff --git a/docs/en/edge/guide/getting-started/windows-phone/index.md 
b/docs/en/edge/guide/getting-started/windows-phone/index.md
index 4a7374e..bd431c1 100644
--- a/docs/en/edge/guide/getting-started/windows-phone/index.md
+++ b/docs/en/edge/guide/getting-started/windows-phone/index.md
@@ -47,8 +47,22 @@ Necessary for Installing on Device and Submitting to Market 
Place:
 - Download and install [Windows Phone  
SDK](http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=27570/)
 - Download the latest copy of [Cordova](http://phonegap.com/download) and 
extract its contents. We will be working with the subfolder: lib\windows-phone\
 - copy the file CordovaStarter-x.x.x.zip to the folder : \My Documents\Visual 
Studio 2010\Templates\ProjectTemplates\
+( if the template file does not exist, you will need to build it. See 2.1 
below )
 if you have just installed VisualStudio, you should launch it once to create 
this folder
-if you prefer, you may add the project instead to the "Silverlight for Windows 
Phone" subfolder of "Visual C#". This is up to you, and only affects where the 
project template is shown when creating a new project. Also, You may need to 
create this folder.
+if you prefer, you may add the project instead to the "Silverlight for Windows 
Phone" subfolder of "Visual C#". This is up to you, and only affects where the 
project template is shown when creating a new project. Also, You may need to 
create this folder. 
+
+
+2.1. Building the template
+-----------------------------
+( note, this step may not be required.  If the lib\windows-phone directory 
already contains a file CordovaStarter-x.x.x.zip then you may skip this step )
+- Open the file lib\windows-phone\templates\standalone\CordovaSolution.sln in 
Visual Studio Express for Windows Phone
+- From the file menu, select 'Export Template...' 
+- Choose template type 'Project template'
+- Give the exported template a name, ex. CordovaStarter-2.1.0 will produce 
CordovaStarter-2.1.0.zip
+- Optionally, you may add a description, icon image, and Preview image.  These 
are what is displayed in Visual Studio in the 'New Project' dialog.- 
+- Note: If you select ( 'Automatically import the template ... ') then you 
will not need to copy the .zip file over as outlined in step 2.
+- Press 'Finish'
+
 
 
 

Reply via email to