This is a migrated thread and some comments may be shown as answers.

Wrong skin dll being published with project

1 Answer 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vance Smith
Top achievements
Rank 1
Vance Smith asked on 12 Aug 2013, 04:45 PM
Hi,

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!

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 15 Aug 2013, 11:16 AM
Hello,

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.

Regards,
Andrey
Telerik
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.
Tags
General Discussions
Asked by
Vance Smith
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or