I have what seems to be a very strange problem with a windows forms application. I am a web developer and I have limited experience of developing windows forms application. I am working on an ecommerce web site which stores product images in the database as blobs. In order to make it easier to bulk import images I am writing a small windows forms utility that uses the existing website bll library. I am using Visual studio 2010 c# and .net 4. I created a new windows forms project in my solution and added a reference to the bll project. I started coding and added using statements to my code, everything was working as expected intelisense worked corectly with my bll classes etc. Then i built the project and it failed, it complained about every line of code that refered to anything from the bll project including the using statements, and intelisense no longer worked for anything from the bll project. Basically what you would expect if there were no reference to the bll project. If i remove the reference and then re add it, or add ar reference to another projecct in the solution, intelisense comes back and all of the compiler errors disapear. Then if i build again they all reappear and intelisense no longer works.
What am i missing, what the hell might be going on here.