1. Exit the VS2012, and then re-open the solution. 2. Clean the solution and build. 转载于:https://www.cnblogs.com/fdyang/p/3491752.html