analogReadResolution(12) - will not upload to Due

I checked the wiring_analog.c and .c files - they are both present. I also found that if I choose Arduino Due (Programming Port) or Arduino Due (Native USB Port) the sketch compiles without any errors BUT I cannot upload as the board is not found. When I revert to Arduino Due I can upload other sketches but still cannot get the analogReadResolution(12) to compile.