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.
as well as
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
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