its usually just an itellisense error, but it can help to right click on your project and generate visual studio files