I've started to notice that the following assembly keeps getting added to my web.config
<add assembly="VsWebSite.Interop, Version=22.214.171.124, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
however, if I upload to my host with this file it breaks with the error
Could not load file or assembly 'VsWebSite.Interop, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
If I remove the "add assembly" line the site still works fine.
My Question is:
What can I do to either stop Visual studio adding the assembly or automate it's removal before uploading?
I use a Web Development Project to complie and trim my site before uploading is there something I could add to this?