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

Hotfix this.

7 Answers 168 Views
Installer and Visual Studio Extensions
This is a migrated thread and some comments may be shown as answers.
pompomJuice
Top achievements
Rank 1
pompomJuice asked on 12 Apr 2011, 02:11 PM
How do you install the hotfix?

Windows 7 wont allow me to fiddle with installed telerik assemblies because the "trusted" install prevents you from doing anything to those assemblies.

gacutil has also proven to be more than useless.

What am I doing wrong? Why are there no instructions to install the hotfixes? I refuse to link to any assemblies that are not in the gac because it makes teamwork impossible. What is the deal here?

7 Answers, 1 is accepted

Sort by
0
pompomJuice
Top achievements
Rank 1
answered on 12 Apr 2011, 02:37 PM
Ok so closing VS2010 and changing the ownership of the telerik install allows you to overwrite the assemblies.
0
pompomJuice
Top achievements
Rank 1
answered on 12 Apr 2011, 02:50 PM
... but that breaks everything.

My application now keeps on moaning:

Error 8 Cannot resolve reference assemblies. Please check the reference assemblies. Could not load file or assembly 'System.Windows, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. The system cannot find the file specified. C:\Work\\Modules\Framework\Core\UI\Alerts\Views\UnsavedChangesView.xaml Core (Modules\Framework\Core)

This was a disaster I should never have tried to install the hotfix. I found some installation instructions in the documentation, but those are massively outdated and they also just say you must override the DLLs. Have you tested this like you do your MVVM unfriendly controls?
0
pompomJuice
Top achievements
Rank 1
answered on 12 Apr 2011, 03:39 PM
Yay!!!

Another random success while working with telerik controls...

Just go to C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\Silverlight\v4.0 with VS2010 Command Prompt and do a gacutil -i System.Windows.dll (and any other it compains about) and the everything will work again.

Until the next random error...
0
Accepted
Edward
Top achievements
Rank 1
answered on 12 Apr 2011, 03:54 PM
Hi Werner,

I am pretty sure you shouldn't be adding ANY Silverlight assemblies in the Global Assembly Cache, as the Silverlight runtime has no relation to the .NET runtime (that's why you don't get any silverlight assemblies in GAC after installing the SL SDK). My bet is - that would end up messing up your dev environment.

If I was you, I'd remove the Silverlight assemblies you already added (Telerik and System) using gacutil.

For collaborative scenarios, I personally, create a "References" folder in source control and use it to store any third party assemblies, referenced by my projects. That way my team mates can simply get the latest sources and have everything at their finger tips without having to perform any additional steps (like adding the assemblies to GAC).

IMHO, that solution will work perfectly in your case.

UTI,
    Eddie
0
pompomJuice
Top achievements
Rank 1
answered on 12 Apr 2011, 04:46 PM
How do you get that to work because what VS2010 does is when you reference a DLL that is not in the GAC it copies the file to the Bin/Debug folder and then uses that as its source.

This means that if you update your folder with assemblies, nothing happens.

How did you get around this problem?

With regards to adding SL libraries to the GAC, MS fixed that for .net 4.0? I remember it being a problem for 3.5 downwards.

Regards.


PS - Everything is working now, after a massive stuggle.
0
Accepted
Teodor
Telerik team
answered on 12 Apr 2011, 05:07 PM
Hello Werner,

Unfortunately, as Eddie said, Silverlight is not part of the .NET runtime and adding Silverlight control assemblies to the GAC is not recommended as this can corrupt your system environment. If you have the need to use the controls in a team project I would suggest adding the assemblies to source control (in a solution folder) and referring them from there. In that way your team can get and run the team project without needing any additional setup.

If you have any concern, please feel free to let me know.

Kind regards,

VSXTeam Teodor
the Telerik team

Kind regards,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
pompomJuice
Top achievements
Rank 1
answered on 13 Apr 2011, 09:48 AM
Thanks Teodor, you are the man.

- Additional tip for those in the know: To get your assemblies visible in vs2010->Add Reference (which is what you need to get teamwork going) you need to add some keys in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MicrosoftSDKs\Silverlight\v4.0\AssemblyFoldersEx

Tags
Installer and Visual Studio Extensions
Asked by
pompomJuice
Top achievements
Rank 1
Answers by
pompomJuice
Top achievements
Rank 1
Edward
Top achievements
Rank 1
Teodor
Telerik team
Share this question
or