0.2 First Day Assignment
The purpose of this assignment is to familiarize you with the layout of Visual Studio and standardize the way we will be using folders and files throughout the courses.
-
Download the starting Zip file and store it in your OneDrive
-

0.2 First Day 1 Snip OneDrive.png -

0.2 First Day 1 Snip OneDrive2.png -
-

0.2 First Day 1 Snip Zip.png -

-

0.2 First Day 1 Snip RenameFolder.png -

0.2 First Day 1 Snip RenameSln.png
-
-
Debugging and Feedback System
Continue the 0.2 First Day Assignment by working with Visual Studio errors and using the Feedback System to identify and correct code issues.
-
Open your First Day project
-
Fix a build error.
-

Build Application
Your Output window should look like the image below.

Build Output
-

Snip - Show Error List
This will bring up a window that shows you issues with the code. These issues are known as compiler errors. Visual Studio has a built in compiler that checks for errors as you write code.
-

Snip - Error Line
-

Snip - Build
Because we have an error in our code the application will not build properly, meaning that Visual Studio recognizes that something isn't right and the application is not usable. It will show that the build has failed in the status bar on the bottom.

Build Failed
-
Every time we start the application, the application saves and then builds first.
-
If you get a prompt instead, select 'No' and make sure your Build Settings are correct. If you don't get a prompt but the application still runs it means your settings are incorrect and you will need to fix them.

Build Settings
-
-

Snip - Fix Error
-

Snip - Build Succeeded
-

Snip - Start Application
-
-
Upload the First Day Assignment to the Feedback System
Currently when we build the application everything seems fine. This is all well and good, but when we upload to the Feedback System we get errors.
-

0.2 First Day 4 Snip ZipFolder.png -

0.2 First Day 4 Snip InsideZipFolder.png -

Feedback Assignment
-

Upload Button
-

0.2 First Day 4 UploadToFBS.png
-
-
Observe Feedback System Errors
-

Step Number
-

Feedback Errors
-
-
Fix your first error.
-

Id Error
-

Resubmit
-

Error Fixed
-
Fix the next error
-

NullReferenceException
-
this.Breakfast = new Breakfast();
New Breakfast Object
-

Success Message





