Troubles launching Cuda project on VS 2019

Hi there,
I have recently started coding Cuda-based applications. I’ve created some of them as a training for myself, as well as for lab’s purposes at a university. Now, I am trying to launch a new application based on my sequential algorithm, which I’ve implemented in cpp. First thing I’ve done was creating CUDA runtime project on vs2019 and attaching the code. For test purposes i left .cu file empty. Building the project is successful, but launching it is not. Just after entering main function (localized in one of .cpp file) i see the following error:
image
Can someone help me? As CPU the project it runs without problems…