You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now the the project information command has been completed, we will use the debugger to test the logic.
432
+
433
+
1. Click Start Debugging this will be the play button icon on your tool bar with star next to it.
434
+
435
+

436
+
437
+
You will notice that will start a new instance of Visual Studio.
438
+
This is by design CodeFactory automation runs inside of Visual Studio so we debug it from another instance.
439
+
___
440
+
2. One the debugger version of Visual Studio loads do the following.
441
+
442
+

443
+
444
+
- Click File
445
+
- From the menu select Recent Projects and Solutions
446
+
- From the sub menu select CodeFactoryTesting.sln
447
+
This will load our testing solution.
448
+
449
+
During the loading of the solution a number of services are loading.
450
+
When in debugger mode this can be slow.
451
+
You will know when your code factory logic is loaded by see this message in the lower left hand corner.
452
+
453
+

454
+
___
455
+
3. Next we execute the project information command and test our logic by doing the following.
456
+
457
+

458
+
459
+
- Right click on the project in the solution
460
+
- From the context menu click Show Project Infomation
461
+
462
+
Visual Studio will then display the dialog with the information about the project.
463
+
464
+

465
+
466
+
- Click Ok to close the dialog
467
+
___
468
+
4. Play with the project
469
+
Make changes to the project itself, add code files.
470
+
Maybe add a project reference and then rerun the command the dialog will show the updated information.
471
+
472
+
Since this is in debug mode, you can go back to the hosting copy of Visual Studio and set break points.
473
+
You can then step through the code and see how everthing executes.
474
+
475
+
Once you are done close the debug version of Visual Studio.
476
+
___
477
+
## Deploying the Automation to Your Solutions
478
+
Every time you build your project the CodeFactory SDK calls an external executable called CFXPackager.
479
+
This packages up your automation for using in solutions.
480
+
481
+
In the bin folder of your project is a file with the name of your project with a cfx file extension.
482
+

483
+
484
+
You copy the cfx file into the solution folder of your target solution you want to use with automation and CodeFactory will load it when the solution opens.
255
485
256
486
257
487
## Return to Guidance
258
488
This concludes the complete training for how to create a CodeFactory project. The link below will take you back to the guidance page.
259
489
260
490
[CodeFactory Guidance](../Overview.md)
261
491
492
+
262
493
## Return To Create Project Guidance
263
494
The link below will take you back to the create project guidance.
0 commit comments