Visual studio 'access denied' libtorch in debug mode

Hi, i get an access denied error when it comes to debuging my libtorch project in visual studio 2019. I found the’managed compatibility mode’ issue but it did not help for me. Do you have an suggestions? Every Hello world program runs on my settings, but with libtorch it deos not work fine.