Wrong skin dll being published with project

2 posts, 1 answers
  1. Vance Smith
    Vance Smith avatar
    36 posts
    Member since:
    Jun 2012

    Posted 12 Aug 2013 Link to this post


    I have been an avid Telerik user for about 7 years now and am having a problem that I have never experienced before. I recently upgraded a website from .net 4.0 to .net 4.5 as well as pointed my site at the "bin45" versions of the RadControls dll's. Problem is, now when I publish my app it publishes the bin40 dll, even though it clearly shows in my project that I have the bin45 dll. I have checked the properties of the dll and viewed the path stored in the skin's refresh file -- all is pointing to "45". I am at a loss. I am now in the maddening situation where I have to remember to manually copy the bin45 version of the skins dll over evertime I publish. Help!
  2. Answer
    Andrey avatar
    836 posts

    Posted 15 Aug 2013 Link to this post


    Most probably the problem is caused by cached assemblies by Visual Studio. Depending on the type of Project you are working on there are some steps you could follow:
    • If you are using project type WebSite simple replace of the DLLs in the Bin folder should do the trick, however if you have referenced the DLLs globally in Web.config file you should make correction to the linked version too.
    • If the project is of type WebApplication, you should reference the DLL files and additionally to replace the DLL file in the Lib and Bin folders of your project.

    Beside these specific to the type of project steps, there are two common steps that should be done in order to verify that all references are replaced. First close all opened instances of Visual Studio and then clear the content of these folders:

    • C:\Users\current_user\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies
    • C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
    Additionally you could check what is the version of the Telerik assembly which is referenced in the GAC if you have installed it in the GAC. You could check this help topic for more information.

    Then check whether the issue has been resolved.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top