I had the same issue and deleting Debug/Release did not help but deleting the obj folder resolved my issue :)