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

Deployment reference problem

2 Answers 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alex Mitchell
Top achievements
Rank 1
Alex Mitchell asked on 24 Aug 2010, 05:32 PM
I have a problem with my ClickOnce deployment that I am doing and I have had this problem multiple times with all of my new applications that are deployed this way. This same problem occurs every time a new Telerik controls version comes out and I am not sure what to do to fix it, or how I have fixed it in the past. The problem always just seems to go away after tweaking some unrelated things.

What is happening is that I have a lot of references to the Telerik.windows.controls dlls. When I use the ClickOnce deployment to deploy one of my projects, I usually get an error message after running the installer that says

'Unable to intall or run the application. The application requires that assembly Telerik.Windows.Controls.Input Version 2010.1.309.35 be installed in the Global Assembly Cache (GAC) first.'

I first check to make sure that the required version is not in the GAC and that is fine but I also check all of my projects and none of the have a reference to that version. Right now, they all have references to the Version 2010.1.603.35. I have also gone in and checked the ClickOnce manifest to see if the problem is present in that as well and sure enough I find both of the following records.

<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>
<dependency>
  <dependentAssembly dependencyType="preRequisite" allowDelayedBinding="true">
    <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.309.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
  </dependentAssembly>
</dependency>

as well as

<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.dll" size="1207296">
      <assemblyIdentity name="Telerik.Windows.Controls" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>e4iP0pIbW/339jWRaqDifRptJ0E=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>
<dependency>
    <dependentAssembly dependencyType="install" allowDelayedBinding="true" codebase="Telerik.Windows.Controls.Input.dll" size="770560">
      <assemblyIdentity name="Telerik.Windows.Controls.Input" version="2010.1.603.35" publicKeyToken="5803CFA389C90CE7" language="neutral" processorArchitecture="msil" />
      <hash>
        <dsig:Transforms>
          <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
        </dsig:Transforms>
        <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
        <dsig:DigestValue>3Wibpvrir1Btx4aXnHuzt82AWO0=</dsig:DigestValue>
      </hash>
    </dependentAssembly>
  </dependency>

If anyone has any idea why this keeps happening to me then please tell me what I can do to fix it or prevent it from happening again.

As further information, this problem also only seems to occur when I publish and not when someone else publishes the exact same project.

Thank you,
Alex

2 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 01 Sep 2010, 10:19 AM
Hi Alex,

Sorry to hear these. To my regret our expertise with ClickOnce is not as broad as we would like it to be. I attempted to reproduce the error with the steps below:

I created a very simple WPF application using the Telerik.Windows.Controls and Telerik.Windows.Controls.Input assemblies. I used RadControls for WPF v.2010.1.309 and I upgraded them to v.2010.2.714. I created ClickOnce applications with both and I did not experience the problem.

A suggestion: you could try extending a similar simple application to using the controls you have until you isolate the problem.

Let me know if I can help further with this one.

Kind regards,
Erjan Gavalji
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
taras
Top achievements
Rank 1
answered on 11 Apr 2011, 04:58 AM
Did you managed to solve it?
I am experiencing the same problem and cannot get around it does not matter what I do. 
Tags
General Discussions
Asked by
Alex Mitchell
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
taras
Top achievements
Rank 1
Share this question
or