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

how to avoid version numbers?

3 Answers 117 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mac
Top achievements
Rank 1
mac asked on 17 Mar 2009, 05:54 PM
this is probably a really stupid question but.. 
I updated my items in the vs2005 toolbox to 2008.3.1504(latest) .
Copied the .dll into my bin file including the refresh file
updated my webconfig <assemblies> to 

<

add assembly="Telerik.Web.UI, Version=2008.3.1504.20, Culture=neutral, PublicKeyToken=121FAE78165BA3D4"/>

 


everything works.. except now every time i drag a new control into my form i end up with another telerik reference pointing to that specific build.
ie 

<%

@ Register Assembly="Telerik.Web.UI, Version=2008.3.1504.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4"

 

 

Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

... is there a way I can have the assembly register without the version? That way I can update easily in the future without having to worry about old builds

thanks for any help/advice.

PS: I also have Telerik.Web.UI (2008.3.1504.20) and Telerik.Charting (2.0.4.0) in my GAC if that is any further help. For some reason I can't remove the .charting reference.


3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 17 Mar 2009, 05:58 PM
Hi mac,

That version appears because you have added Telerik.Web.UI in GAC. To avoid that behavior simply remove Telerik.Web.UI from GAC and restart visual studio.

Greetings,
Albert
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
mac
Top achievements
Rank 1
answered on 17 Mar 2009, 06:07 PM
Thanks Albert!
That fixed it. Is there a reason the telerik Charting reference should remain? If it should be yanked too.. can you comment on how one might be able to do that when every time I try and delete it, it responds that it can't be done. this is by both cmd line and by gui interface.
mac
0
Giuseppe
Telerik team
answered on 20 Mar 2009, 11:26 AM
Hello mac,

The Telerik.Charting assembly is placed in the GAC automatically by the RadControls installer -- that is why you cannot delete it manually as it has dependency on the installer and if you would like to remove it you need to uninstall the product.

Note that since Q3 2008 there is no stand-alone Telerik.Charting assembly any more as it is merged automatically into the Telerik.Web.UI assembly. So if you are using Q3 version of the controls, you can safely uninstall previous versions of the product and this will remove the charting assembly from the GAC as well.

Hope this helps.


Regards,
Manuel
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
mac
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
mac
Top achievements
Rank 1
Giuseppe
Telerik team
Share this question
or