[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2586
  • Last Modified:

removing VsWebSite.Interop Assembly from Web.Config

I've started to notice that the following assembly keeps getting added to my web.config
    <add assembly="VsWebSite.Interop, Version=8.0.0.0, 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=8.0.0.0, 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?
0
McExp
Asked:
McExp
  • 2
1 Solution
 
RejojohnyCommented:
i think this gets added with ajax toolkit .. but I have also noticed that once you remove it, it does not get added again .. are you sure that its adding itself again to the web.config?
0
 
RejojohnyCommented:
from http://blogs.msdn.com/delay/rss_tag_AJAX+Control+Toolkit.xml

A short while ago we made available the 10618 release of the AJAX Control Toolkit. This release addresses a handful of user-impacting issues introduced by changes in the recent 10606 release and identified by the user community in the support forum and online issue tracker
.....
Dependencies: Removed explicit reference to VsWebSite.Interop.dll and stdole.dll. They will not be automatically included in the web configuration files by Visual Studio.
0
 
McExpAuthor Commented:
This is odd, I thought I had already tried removing the line. am now on 10920 and all is fine.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now