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

error during upgrade: Please, use the GAC reference instead

8 Answers 763 Views
Installer and VS Extensions
This is a migrated thread and some comments may be shown as answers.
Maurice
Top achievements
Rank 1
Veteran
Maurice asked on 11 May 2017, 01:45 PM

Assembly Reference "...\lib\KENDOUIMVC\2017.2.504.545\Kendo.Mvc.dll" was not updated properly. This usually happens when an assembly exists both in the GAC and in a local folder. Please, use the GAC reference instead.

 

How do I only use the GAC? And what is the GAC ;)

 

Maurice

8 Answers, 1 is accepted

Sort by
0
Nikola
Telerik team
answered on 12 May 2017, 06:17 AM
Hello Maurice,

Thank you for contacting us.

The Global Assembly Cache (GAC) stores assemblies specifically designated to be shared by several applications on the computer. You could find more details about it here. With the stand-alone installer we register the Telerik assemblies in the GAC and also locally in the installation folder. This could cause the warnings you mentioned. 

The references should be resolved correctly, so your project should work as expected.To use the GAC reference you will have to manually Browse to the location of the assembly in the Add Reference... dialog in Visual Studio.

In case you are not using the latest version of our VS Extension, please upgrade it through the Visual Studio Gallery, which should help with the warning you got. To perform the upgrade:

1. Launch Visual Studio
2. Select Tools from the menu at the top
3. Press Extensions and Updates... from the drop down menu
4. Click Installed to the left. If an Update is available a button will be available to complete the process

If you would require further assistance or have any other questions I will be looking forward to your reply.

Regards,
Nikola
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jean-Christian
Top achievements
Rank 1
answered on 19 Jan 2018, 08:48 AM

Hi, 

Same question for ASP.net AJAX. What should I do?

For the first time with the lattest version, I have warnings for the DLLs stored in ...\MyProject\lib\RCAJAX\2018.1.117.45\*.dll.

But I have no warning for the same librairies in the bin folder.

Thanks,

0
Jean-Christian
Top achievements
Rank 1
answered on 19 Jan 2018, 10:30 AM

Moreover, since the last upgrade 2018.1.117.45, the Telerik controls do not show anymore in design mode.

I get the "Error creating control" everywhere. Is it related to the warnings I described in my previous reply?

What should I do? I have made the upgrade exactly as usual. It has been working for 3 years, but not this time. Did you change something in the upgrade process?

Regards,

0
Nikola
Telerik team
answered on 23 Jan 2018, 07:32 AM
Hello Maurice,

I am sorry to hear of the inconvenience you have experienced.

Since the 2017 R3 SP1 release of the Telerik UI for ASP.NET AJAX VSExtensions we have stopped the deployment of the Telerik.Web.Design assembly in the GAC. Previously it was automatically resolved from there even if it was not referenced in the solution. Now an explicit reference is required in order for the controls to be displayed in the designer. So to resolve the "Error creating control" error add a reference to the Telerik.Web.Design.dll, rebuild your solution and reload the designer.

In regards to the other issue I would like to ask you to provide us with more details regarding the warning and the upgrade process you have followed as I am not able to reproduce this behavior. 

We remain at your disposal in cause you have any other questions or require further assistance.

Regards,
Nikola
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jean-Christian
Top achievements
Rank 1
answered on 23 Jan 2018, 08:54 AM

Hi, 

Thank you for your answer, it is working for displaying controls.

Regarding the warnings, please find attached some screenshots that may help you.

Regards

0
Nikola
Telerik team
answered on 24 Jan 2018, 07:12 AM
Hello,

We tested several scenarios but we were not able to reproduce this issue. We however have some fixes related to the upgrade log so it is worth to check if you have the latest Visual Studio extensions installed. You can check if there is a pending update of Telerik ASP.NET AJAX VSExtensions in the Extensions and Updates tool (Tools | Extensions and Updates...). Make sure you have the latest extensions and give the upgrade wizard another try. Check if the Telerik references are updated (in the *.csproj / *.vbproj files) after the automatic upgrade and ignore the warnings if that is true. Otherwise, follow these steps:

1. Remove all Telerik.Web.Design assemblies from the GAC using the Gacutil.exe tool. Use gacutil /u Telerik.Web.Design command for this purpose. Have in mind that it is required to execute the command as an administrator (run the Developer Command Prompt as an administrator and execute the command).
2. Clean your Visual Studio solution and make sure the bin folders are empty.
3. Update your projects using the Upgrade Wizard.

Regards,
Nikola
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Jean-Christian
Top achievements
Rank 1
answered on 24 Jan 2018, 08:54 AM

Hello,

Thank you for your answer, but, why are you talking about Telerik.Web.Desing. This is only DLL that does not generate a warning, and , moreover, as I told you in my last reply, the controls display issue in VS is now fixed.

The issue that remains concerns all Telerik DLL, but Web.Design.

Please, take a look at the pictures I have attached to my last reply.

Regards,

PS : I have the latest VSExtensions installed

0
Nikola
Telerik team
answered on 25 Jan 2018, 02:47 PM
Hello Maurice,

From the screen shots we received it appears that the project was upgraded successfully. What the wizard does is substitute the versioned folder under lib\[Product] and then refer the new assemblies in the project. As seen in the images there is only one folder with the latest version under lib. That indicates that the upgrade was successful despite the warnings that are shown in the log.

To be sure that everything worked as expected please double check that the assemblies in the lib\RCAJAX\2018.1.117.45 are with the latest version and that the Telerik references are updated (in the *.csproj / *.vbproj files).

Regards,
Nikola
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Installer and VS Extensions
Asked by
Maurice
Top achievements
Rank 1
Veteran
Answers by
Nikola
Telerik team
Jean-Christian
Top achievements
Rank 1
Share this question
or