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

VS error message bin/telerik.we.ui.dll already exists

5 Answers 74 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 09 Feb 2010, 05:02 PM
HI

I had to restore the toolbar in Visual Studio (right click, restore toolbar) and now when I add a telerik control to an exisitng page  I get a message saying " a file with the name bin/telerik.web.ui.dll already exists. Do you want to replace it?"

I am not sure whether I should say yes or no.  What is the issue here?

Thanks

Clive
version info Q2 2009

5 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 12 Feb 2010, 01:14 PM
Hello Clive,

This error occurs because the application's BIN folder already contains a Telerik.Web.UI assembly. If you choose the replace option when the Visual Sdudio's prompt is shown, then the assembly that is inside the application's BIN directory will be replaced with the one that is installed in Visual Studio's toolbox.

Sincerely yours,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Clive Hoggar
Top achievements
Rank 1
answered on 17 Feb 2010, 11:58 PM
Yes but does this mean that the version that is already in the /bin folder is a newer version, or an older version
than the onesin the toolbar?

What should i change so that this does not constantly occur?

If I do say 'yes' to the replacement, might some other pages with RadControls on then stop working?

Thanks

Clive
0
Fiko
Telerik team
answered on 23 Feb 2010, 12:25 PM
Hello Clive,

There is not a definite answer for your question and you need to check the assembly versions manually on your side. You can open the bin folder, right click over the Telerik assembly and then choose Details in the opened dialog. If you know the version installed in the Visual Studio's toolbox you can easily compare the two versions. if you do not know the version installed in the Tooolbox, however, you can find the assembly that is loaded in Toolbar and perform the same actions as described earlier in order to get the version of the Assembly. As an alternative you can drag and drop a Telerik control from the Toolbox and choose to replace the assembly in the bin folder when the prompt appeared (in this case I recommend you to backup your old Telerik assembly inside the BIN folder) After replacing the assembly you can perform the described actions in order to get the version of the assembly.

If you replace the assembly, then all RadControls in the current project will use the new version.

I hope this helps.

Best wishes,
Fiko
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Daniel Stroehmann
Top achievements
Rank 2
answered on 08 Apr 2010, 07:12 AM
Hi,

I use the team foundation server to manage our projects. In one of those projects we have the same error. Bust importantly: We get the "A file with the name 'bin/Telerik.web.ui.dll' akready exusts. Do you want to check this file our and replace it?" - dialog single time we change the page in design mode. Meaning: A single keystroke causes that problem. Even we change something totally unrelated to any telerik control object like lets say changing the style of a table cell...

Any idea why this happens?

Daniel.
0
T. Tsonev
Telerik team
answered on 09 Apr 2010, 04:44 PM
Hello Daniel,

Our recommendation is to keep the Telerik.Web.UI assembly, as well as any other binary references, in a separate folder - say in the root folder of your project. You then add a reference to this file and check it in the source control. No binaries from the bin folder should be checked in.

I hope this helps.

Kind regards,
Tsvetomir Tsonev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
General Discussions
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Clive Hoggar
Top achievements
Rank 1
Daniel Stroehmann
Top achievements
Rank 2
T. Tsonev
Telerik team
Share this question
or