add screenshots to Wiring C.W. into your proj.

master
Craig Oates 5 years ago
parent
commit
532c6e8de3
  1. 10
      Wiring-Console.Waterworks-into-Your-Project.md
  2. BIN
      attachments/console-screenshot-no-assembly-info.png
  3. BIN
      attachments/console-test-screenshot.png

10
Wiring-Console.Waterworks-into-Your-Project.md

@ -13,7 +13,7 @@ namespace Commands
module ConsoleCommands
open Console.Waterworks
let test () = "You have set-up Console.Waterworks"
let test () = "The console is working"
```
### .Net Core Version
@ -25,7 +25,7 @@ namespace Commands
module ConsoleCommands
open Console.Waterworks
let test () = "You have set-up Console.Waterworks"
let test () = "The console is working"
```
With `ConsoleCommands` set-up, head back to "program.fs". We can now tell C.W. where to look for your `business logic`. To do this, add the following code to `main`;
@ -39,11 +39,11 @@ As an aside, you can name the "ConsoleCommands.fs" file anything you like. This
With everything set-up, you can now run the program. When you do, it will await your input. If you type "test" into the prompt and press ENTER, you should see  "You have set-up Console.Waterworks". And with that, you are ready to start building out your "business logic".
SCREENSHOT OF CONSOLE WORKING.
![console-test-screenshot](attachments/console-test-screenshot.png)
If you change `false` to `true` in the `run` method (in `main`), the programs assembly information will appear at run-time.
If you change `true` to `false` in the `run` method (in `main`), the programs assembly information will not appear at run-time.
SCREENSHOT OF ASSEMBLY INFO SHOWING AT RUN-TIME.
![console screenshot with no assembly info](attachments/console-screenshot-no-assembly-info.png)
## Changing the Assembly Information for you Console Program

BIN
attachments/console-screenshot-no-assembly-info.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
attachments/console-test-screenshot.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Loading…
Cancel
Save