CUDA 11.x and VS2017

Hello, I want to use the latest CUDA version with VS 2017 and I’m having strange behavior. I opened the VS2017 samples project or solution that came with CUDA and had the following issues. One issue is that the code samples have undefined variables which I suspect is due to an incompatible SDK. The other is that when I tried to undock one of the code editor panels the entire project crashed and I received an error message that files were not recoverable. Any assistance would be appreciated.