After adding MSBuildSDKsPath since it was giving me an error before about not finding sdk
I now get the C1001 compile error once I added the MSBuildSDKsPath variable