Read more and code less
Solution :Close all visual studio instances and Delete the temp files Open the visual studio again and clean the solution and rebuild and run the appnow it will work