Did you check Configuration Manager?
You said you have same build of VS and the codes are all the same. But if your platform settings are not same, VS would link different references and could result in your issue.