Hotfix this.

8 posts, 2 answers
  1. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    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?
  2. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    Ok so closing VS2010 and changing the ownership of the telerik install allows you to overwrite the assemblies.
  3. DevCraft banner
  4. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    ... 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?
  5. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    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...
  6. Answer
    Edward
    Edward avatar
    12 posts
    Member since:
    Oct 2009

    Posted 12 Apr 2011 Link to this post

    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
  7. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 12 Apr 2011 Link to this post

    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.
  8. Answer
    Teodor
    Admin
    Teodor avatar
    56 posts

    Posted 12 Apr 2011 Link to this post

    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
  9. pompomJuice
    pompomJuice avatar
    16 posts
    Member since:
    May 2010

    Posted 13 Apr 2011 Link to this post

    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

Back to Top
DevCraft banner