Skip to content

Commit f99bbbe

Browse files
committed
Updates related to documentation
1 parent 1cab672 commit f99bbbe

File tree

6 files changed

+394
-34
lines changed

6 files changed

+394
-34
lines changed

docs/guidance/Introduction/Overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3 id="user-interfaces">User Interfaces</h3>
102102
<p><a href="UI/Overview.html">CodeFactory User Interface</a></p>
103103
<h2 id="codefactory-guidance">CodeFactory Guidance</h2>
104104
<p>A variety of &quot;walk-through&quot; scenario-driven guidance is provided to help you get started and understand how to use the CodeFactory SDK.</p>
105-
<p><a href="../Guidance/Overview.md">CodeFactory Guidance</a></p>
105+
<p><a href="../howto/Overview.html">CodeFactory Guidance</a></p>
106106
</article>
107107
</div>
108108

docs/guidance/howto/CreateProject/CreateProject.html

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -82,74 +82,74 @@ <h1 id="creating-a-project">Creating a Project</h1>
8282

8383
<p>The first step will be to create a project and register our first command.</p>
8484
<h2 id="background">Background</h2>
85-
<p>The following is important background information on CodeFatory itself.
85+
<p>The following is important background information on CodeFactory itself.
8686
This will help you understand the default startup behavior the first time you create a CodeFactory project.</p>
87-
<h3 id="nuget">Nuget</h3>
88-
<p>CodeFactory was designed to load the target versions of the SDK libraries directly from Nuget.
89-
The way that this is accomplished is by adding direct project references to the target version hosted on nuget.
90-
With the legacy project system used to host .Net framework it does not automatically pull down these nuget packages when you load the project for the first time.
87+
<h3 id="nuget">NuGet</h3>
88+
<p>CodeFactory was designed to load the target versions of the SDK libraries directly from NuGet.
89+
The way that this is accomplished is by adding direct project references to the target version hosted on NuGet.
90+
With the legacy project system used to host .Net framework it does not automatically pull down these NuGet packages when you load the project for the first time.
9191
So if any CodeFactory project items are added you will get a number of errors related to the libraries not being loaded.
92-
The Nuget packages will automatically be pulled down the first time you do a build of the project itself, these errors will then go away.</p>
92+
The NuGet packages will automatically be pulled down the first time you do a build (Ctrl-Shift-B) of the project itself, these errors will then go away.</p>
9393
<h3 id="codefactory-packager">CodeFactory Packager</h3>
9494
<p>A CodeFactory commands project is the main execution point for all CodeFactory automation.
9595
This project will automatically execute a command line utility after the compile of the project has completed.
96-
The CFXPackager utility is responsible for building the CFX file that is used to run codefactory automation.</p>
96+
The CFXPackager utility is responsible for building the CFX file that is used to run CodeFactory automation.</p>
9797
<p>If no commands are defined in the project this utiltity will output a error saying the package could not be built.
9898
This error will go away once the first command is added to the project.</p>
99-
<h2 id="walk-through-steps">Walk through Steps</h2>
100-
<p>The following is the walk through for creating the project and make sure you can successfully compile the code factory project.</p>
99+
<h2 id="walk-through-steps">Walk-through Steps</h2>
100+
<p>Follow these steps to successfully create and compile your CodeFactory project:</p>
101101
<ol>
102102
<li>Start Visual Studio 2019</li>
103103
</ol>
104104
<hr>
105105
<ol start="2">
106-
<li>From the What would you like to do? window click Create a new project
106+
<li>From the &quot;What would you like to do?&quot; window click &quot;Create a new project&quot;.
107107
<img src="Images/StartWindowCreateProject.png" alt=""></li>
108108
</ol>
109109
<p>Or you can start the same process if you dont use the start up window.</p>
110110
<ul>
111111
<li>Click the File menu</li>
112112
<li>From the context menu select New</li>
113-
<li>From the sub context menu select Project</li>
113+
<li>From the sub-context menu select Project</li>
114114
</ul>
115115
<p><img src="Images/FileNewProject.png" alt=""></p>
116116
<hr>
117117
<ol start="3">
118-
<li>From the Create a new project window do the following</li>
118+
<li>From the &quot;Create a new project&quot; window do the following:</li>
119119
</ol>
120120
<p><img src="Images/SelectCommandLibraryProject.png" alt=""></p>
121121
<ul>
122122
<li>In the search box type CodeFactory</li>
123-
<li>From The list of projects select CodeFactory - Commands Library</li>
124-
<li>Click Next</li>
123+
<li>From The list of projects select &quot;CodeFactory - Commands Library&quot;</li>
124+
<li>Click &quot;Next&quot;</li>
125125
</ul>
126126
<hr>
127127
<ol start="4">
128-
<li>From the Configure you new project do the following</li>
128+
<li>From the &quot;Configure your new project&quot; window do the following:</li>
129129
</ol>
130130
<p><img src="Images/ConfigureProject.png" alt=""></p>
131131
<ul>
132-
<li>In the project name box type DisplayProjectCommands</li>
132+
<li>In the &quot;project name&quot; box type &quot;DisplayProjectCommands&quot;</li>
133133
<li>Click Create</li>
134134
</ul>
135135
<hr>
136136
<ol start="5">
137-
<li>Once the solution and project has been created you will see the project and default folder structure. I have expanded the Project folder to show you the sub folders.</li>
137+
<li>Once the solution and project has been created you will see the project and default folder structure. I have expanded the Project folder to show you the sub-folders.</li>
138138
</ol>
139139
<p>The following is a brief overview of the goal for each folder.
140-
Important note each explorer command has its own folder.
140+
Important note: each Explorer Command has its own folder.
141141
The following structure is prescriptive only.
142142
You can create any folder structure you wish for your automation.</p>
143143
<p><img src="Images/ProjectFolderStructure.png" alt=""></p>
144144
<ul>
145145
<li>The Project folder is where project commands are created and stored</li>
146146
<li>The Dialog folder is for placement of user interface dialogs you created.</li>
147147
<li>The Logic folder is where you add logic that can be reused across multiple project commands</li>
148-
<li>The Template folder is where you add T4 template that as used by project commands.</li>
148+
<li>The Template folder is where you add T4 template that are used by project commands.</li>
149149
</ul>
150150
<hr>
151151
<ol start="6">
152-
<li>Next we will add a solution explorer project command to the project. Do the following steps.</li>
152+
<li>Next we will add a solution explorer project command to the project. Do the following steps:</li>
153153
</ol>
154154
<p><img src="Images/SolutionExplorerProjectNewItemAdd.png" alt=""></p>
155155
<ul>
@@ -159,7 +159,7 @@ <h2 id="walk-through-steps">Walk through Steps</h2>
159159
</ul>
160160
<hr>
161161
<ol start="7">
162-
<li>From the Add New Item Dialog Window do the following.</li>
162+
<li>From the Add New Item Dialog Window do the following:</li>
163163
</ol>
164164
<p><img src="Images/AddProjectCommandDialog.png" alt=""></p>
165165
<ul>
@@ -173,16 +173,16 @@ <h2 id="walk-through-steps">Walk through Steps</h2>
173173
<li>A Microsoft Visual Studio error box will appear.</li>
174174
</ol>
175175
<p><img src="Images/VisualStudioErrorDialogCodeFactory.png" alt=""></p>
176-
<p>This error occurs because the CodeFactory SDK nuget packages have not been downloaded into the project yet.
177-
Click Ok to continue.</p>
176+
<p>This error occurs because the CodeFactory SDK NuGet packages have not been downloaded into the project yet.
177+
This is normal. Click Ok to continue.</p>
178178
<hr>
179179
<ol start="9">
180-
<li>The command code file will display in the IDE and a number of syntax errors will appear. This is occuring since we have not pulled down the SDK through nuget yet.</li>
180+
<li>The command code file will display in the IDE and a number of syntax errors will appear. This is occuring since we have not pulled down the SDK through NuGet yet.</li>
181181
</ol>
182182
<p><img src="Images/CodeFactoryReferenceMissingError.png" alt=""></p>
183183
<hr>
184184
<ol start="10">
185-
<li>We will then build the solution this will trigger the pull of the nuget packages. Do the following.</li>
185+
<li>We will then Build the solution which will trigger the pull of the NuGet packages. Do the following:</li>
186186
</ol>
187187
<p><img src="Images/BuildSolution.png" alt=""></p>
188188
<ul>
@@ -191,7 +191,7 @@ <h2 id="walk-through-steps">Walk through Steps</h2>
191191
</ul>
192192
<hr>
193193
<ol start="11">
194-
<li>Once the build has completed it will have downloaded and installed the nuget packages into the project.</li>
194+
<li>Once the build has completed it will have downloaded and installed the NuGet packages into the project.</li>
195195
</ol>
196196
<p>You will now see the CodeFactorySDK reference in the project.</p>
197197
<p><img src="Images/CodeFactorySDKProjectReference.png" alt=""></p>

docs/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@
10571057
"guidance/howto/CreateProject/CreateProject.html": {
10581058
"href": "guidance/howto/CreateProject/CreateProject.html",
10591059
"title": "Creating a Project | CodeFactory Guidance",
1060-
"keywords": "Creating a Project The first step will be to create a project and register our first command. Background The following is important background information on CodeFatory itself. This will help you understand the default startup behavior the first time you create a CodeFactory project. Nuget CodeFactory was designed to load the target versions of the SDK libraries directly from Nuget. The way that this is accomplished is by adding direct project references to the target version hosted on nuget. With the legacy project system used to host .Net framework it does not automatically pull down these nuget packages when you load the project for the first time. So if any CodeFactory project items are added you will get a number of errors related to the libraries not being loaded. The Nuget packages will automatically be pulled down the first time you do a build of the project itself, these errors will then go away. CodeFactory Packager A CodeFactory commands project is the main execution point for all CodeFactory automation. This project will automatically execute a command line utility after the compile of the project has completed. The CFXPackager utility is responsible for building the CFX file that is used to run codefactory automation. If no commands are defined in the project this utiltity will output a error saying the package could not be built. This error will go away once the first command is added to the project. Walk through Steps The following is the walk through for creating the project and make sure you can successfully compile the code factory project. Start Visual Studio 2019 From the What would you like to do? window click Create a new project Or you can start the same process if you dont use the start up window. Click the File menu From the context menu select New From the sub context menu select Project From the Create a new project window do the following In the search box type CodeFactory From The list of projects select CodeFactory - Commands Library Click Next From the Configure you new project do the following In the project name box type DisplayProjectCommands Click Create Once the solution and project has been created you will see the project and default folder structure. I have expanded the Project folder to show you the sub folders. The following is a brief overview of the goal for each folder. Important note each explorer command has its own folder. The following structure is prescriptive only. You can create any folder structure you wish for your automation. The Project folder is where project commands are created and stored The Dialog folder is for placement of user interface dialogs you created. The Logic folder is where you add logic that can be reused across multiple project commands The Template folder is where you add T4 template that as used by project commands. Next we will add a solution explorer project command to the project. Do the following steps. Right click on the project folder in solution explorer From the context menu select Add From the sub context menu select New Item... From the Add New Item Dialog Window do the following. From the Visual C# Items select CodeFactory Select Solution Explorer - Project Command In the name box enter ProjectInformationCommand.cs Then click Add A Microsoft Visual Studio error box will appear. This error occurs because the CodeFactory SDK nuget packages have not been downloaded into the project yet. Click Ok to continue. The command code file will display in the IDE and a number of syntax errors will appear. This is occuring since we have not pulled down the SDK through nuget yet. We will then build the solution this will trigger the pull of the nuget packages. Do the following. From the top navigation bar click on Build From the context menu click Build Solution Once the build has completed it will have downloaded and installed the nuget packages into the project. You will now see the CodeFactorySDK reference in the project. You will also notice there are no longer any errors in the project command. The project creation is complete. Next Step - Automating Project Information In the next section we will build the logic to read information about a project and display it to the user in Visual Studio. Automate Project Information Return To Create Project Guidance The link below will take you back to the create project guidance. Create Project Guidance"
1060+
"keywords": "Creating a Project The first step will be to create a project and register our first command. Background The following is important background information on CodeFactory itself. This will help you understand the default startup behavior the first time you create a CodeFactory project. NuGet CodeFactory was designed to load the target versions of the SDK libraries directly from NuGet. The way that this is accomplished is by adding direct project references to the target version hosted on NuGet. With the legacy project system used to host .Net framework it does not automatically pull down these NuGet packages when you load the project for the first time. So if any CodeFactory project items are added you will get a number of errors related to the libraries not being loaded. The NuGet packages will automatically be pulled down the first time you do a build (Ctrl-Shift-B) of the project itself, these errors will then go away. CodeFactory Packager A CodeFactory commands project is the main execution point for all CodeFactory automation. This project will automatically execute a command line utility after the compile of the project has completed. The CFXPackager utility is responsible for building the CFX file that is used to run CodeFactory automation. If no commands are defined in the project this utiltity will output a error saying the package could not be built. This error will go away once the first command is added to the project. Walk-through Steps Follow these steps to successfully create and compile your CodeFactory project: Start Visual Studio 2019 From the \"What would you like to do?\" window click \"Create a new project\". Or you can start the same process if you dont use the start up window. Click the File menu From the context menu select New From the sub-context menu select Project From the \"Create a new project\" window do the following: In the search box type CodeFactory From The list of projects select \"CodeFactory - Commands Library\" Click \"Next\" From the \"Configure your new project\" window do the following: In the \"project name\" box type \"DisplayProjectCommands\" Click Create Once the solution and project has been created you will see the project and default folder structure. I have expanded the Project folder to show you the sub-folders. The following is a brief overview of the goal for each folder. Important note: each Explorer Command has its own folder. The following structure is prescriptive only. You can create any folder structure you wish for your automation. The Project folder is where project commands are created and stored The Dialog folder is for placement of user interface dialogs you created. The Logic folder is where you add logic that can be reused across multiple project commands The Template folder is where you add T4 template that are used by project commands. Next we will add a solution explorer project command to the project. Do the following steps: Right click on the project folder in solution explorer From the context menu select Add From the sub context menu select New Item... From the Add New Item Dialog Window do the following: From the Visual C# Items select CodeFactory Select Solution Explorer - Project Command In the name box enter ProjectInformationCommand.cs Then click Add A Microsoft Visual Studio error box will appear. This error occurs because the CodeFactory SDK NuGet packages have not been downloaded into the project yet. This is normal. Click Ok to continue. The command code file will display in the IDE and a number of syntax errors will appear. This is occuring since we have not pulled down the SDK through NuGet yet. We will then Build the solution which will trigger the pull of the NuGet packages. Do the following: From the top navigation bar click on Build From the context menu click Build Solution Once the build has completed it will have downloaded and installed the NuGet packages into the project. You will now see the CodeFactorySDK reference in the project. You will also notice there are no longer any errors in the project command. The project creation is complete. Next Step - Automating Project Information In the next section we will build the logic to read information about a project and display it to the user in Visual Studio. Automate Project Information Return To Create Project Guidance The link below will take you back to the create project guidance. Create Project Guidance"
10611061
},
10621062
"guidance/howto/CreateProject/Overview.html": {
10631063
"href": "guidance/howto/CreateProject/Overview.html",

docs/manifest.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,12 @@
7373
"version": ""
7474
},
7575
{
76-
"log_codes": [
77-
"InvalidFileLink"
78-
],
7976
"type": "Conceptual",
8077
"source_relative_path": "guidance/Introduction/Overview.md",
8178
"output": {
8279
".html": {
8380
"relative_path": "guidance/Introduction/Overview.html",
84-
"hash": "fxZDv1pXH/y4kleYrkcsnA=="
81+
"hash": "LuYgyIL8qt4Lo2VVkoUOoA=="
8582
}
8683
},
8784
"is_incremental": false,
@@ -129,7 +126,7 @@
129126
"output": {
130127
".html": {
131128
"relative_path": "guidance/howto/CreateProject/CreateProject.html",
132-
"hash": "TXRyIu+2D2D8LwOX4He1iQ=="
129+
"hash": "RQQ2azju+ueJybvZZJuhPg=="
133130
}
134131
},
135132
"is_incremental": false,

src/CodeFactoryVisualStudio/Documentation/guidance/Introduction/Overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Review of how user interfaces can be created and used within the Visual Studio e
3636
## CodeFactory Guidance
3737
A variety of "walk-through" scenario-driven guidance is provided to help you get started and understand how to use the CodeFactory SDK.
3838

39-
[CodeFactory Guidance](../Guidance/Overview.md)
39+
[CodeFactory Guidance](../howto/Overview.md)

0 commit comments

Comments
 (0)