Getting "exited with code 1 " all of a sudden


I’m using Windows (Visual studio 2017, Cuda 10, Quadro P1000) for a project and it used to work fine. All of a sudden *.cu files would not compile - giving me: “command … exited with code 1”.

I’ve so far:
installed several combinations of Cuda 9, 10, 10.2 and VS2017, VS2019. Currently, I’m back to VS2017 and Cuda 10. I’m trying to compile the basic example given in VS either from within VS or VS developer command prompt. If I compile from command prompt no error is reported but no output file created.
Everything I found online so far, did not really help.

all the best,

I reset my Windows and it works.