This project is read-only.

No Intellisense in VS 2012 when using the project template


  Whenever I create a DNN project using the project template in VS2012, I will not able to use the intellisense within VS2012. I still can drag the ASP.NET control in the the source file and the VS 2012 will create the respective code require. However when I try to add in new attribute to the control the intellisense will not work.

   The VS 2012 will show up a tooltip saying "Element 'Button' is not a known element.... " Please see attached image file. There is no compilation error and I also have a web.config in the project folder.
Below is the content of my web.config for the project

<?xml version="1.0"?>
  <compilation debug="true" targetFramework="4.0" />
    I can proceed with the development but it will be good if the intellisense is working so to speed up my development. Thank you.

file attachments