Saving the wrong file extension

I think my programmer seems to be saving my program wrong, it's weird because it worked the last time I used my UNO but now it isn't. Here is the error message I have been receiving, has anyone had this problem before?

Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 942 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
An error occurred while uploading the sketch
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

I know it needs a header file and a .cpp but it should be saving like that normally, and if not then why did it work a week ago but doesn't now? Thanks for your help.

You're following a red herring. This is the error you need to focus on:

jasont1981:
An error occurred while uploading the sketch

These are just some warnings that have nothing to do with the error:

jasont1981:
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino

In order to help you with the real error, we need more information:
Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the toolbar).

If you want to fix those warnings, you need to remove all of the invalid libraries from the C:\Program Files (x86)\Arduino\libraries folder. You seem to have two very bad habits:

  • Saving things to the Arduino IDE installation folder (C:\Program Files (x86)\Arduino). You should never do this because everything in that folder will be lost whenever you update to a new version of the Arduino IDE.
  • Saving sketches to the libraries folder. The libraries folder is only for libraries. Don't put sketches in the libraries folder.

You can move those sketches anywhere you like as long as it's not in one of the libraries folders.

Thanks friend.. I moved those files there when I was screwing around trying to figure out what was wrong, they typically are in the documents of my C drive.. here is what I got..

<Arduino: 1.8.7 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 942 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cstk500v2 -Pusb -Uflash:w:C:\Users\jtrask\AppData\Local\Temp\arduino_build_419885/Blink1.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

An error occurred while uploading the sketch
System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : usb
Using Programmer : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

avrdude done. Thank you.

Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino
Invalid library found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a: no headers files (.h) found in C:\Program Files (x86)\Arduino\libraries\sketch_nov05a
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.h
Invalid library found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino: no headers files (.h) found in C:\Users\jtrask\Documents\Arduino\libraries\Blink1.ino

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.>

It looks like you're attempting to do an "Upload Using Programmer", which is done via Sketch > Upload Using Programmer, holding the shift key while you click the "Upload" button, or Ctrl+Shift+U. Upload Using Programmer is only for when you are using an ISP programmer. Are you using an ISP programmer connected to the ICSP header on your Uno, or are you trying to do a normal upload over your Uno's USB cable?

If you are wanting to do normal Upload, then don't do "Upload Using Programmer"! Instead, just click the "Upload" button, select Tools > Upload, or Ctrl+U