





"View" tab
"File name extensions" and "Hidden items"
"File name extensions"Before enabling "File name extensions" in File Explorer, your File Explorer should look similar to the following:

After enabling "File name extensions" in File Explorer, your File Explorer should look similar to the following:

"Hidden items"Before enabling "Hidden items" in File Explorer, your File Explorer should look similar to the following:

After enabling "Hidden items" in File Explorer, your File Explorer should look similar to the following:

Notice the ".vs" folder and how it is slightly transparent. Folders that have a preceding period in its name will be hidden.
MainWindow.xaml.cs
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



Feedback Assignment

Upload Button


Step Number

Feedback Errors
"The value of Id should be 300145999 (int), but is 300145990."
Id Error

Resubmit

Error Fixed
'New Student' button and the 'Have Breakfast' button. You will get a NullReferenceException because we are trying to use a field of an object that doesn't even exist yet. Stop the application
NullReferenceException
Breakfast is null, the Name field can't be read, the EnergyLevel field can't be read, the IsHungry field is wrong, the EnergyLevel field is wrong. These are all things happen AFTER the error we got when we ran the applicationName field of the Breakfast object, instantiate (create) the Breakfast object by copying and pasting the code belowthis.Breakfast = new Breakfast();
New Breakfast Object
'New Student' and 'Have Breakfast' buttons. We no longer get the exception that breaks our application!
Success Message