Build Error: the Command "set local"

I’m using the project generator to make my vst plugins, and when I build in visual studio, I get the error:
"MSB3073 The command “set local”
Is there a way to make it stop throwing this error?