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

Reference conflict in newest version 2020.2.617.45

4 Answers 675 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ClausDC
Top achievements
Rank 1
Iron
Iron
ClausDC asked on 08 Jul 2020, 09:24 AM

I updated my DLLs to the newest version  Telerik_UI_for_WPF_2020_2_617_Dev_Hotfix and now I get a reference conflict:

Severity    Code    Description    Project    File    Line    Suppression State
Warning        Could not resolve this reference. Could not locate the assembly "Telerik.Pivot.Core, Version=2019.2.618.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.            

Please refer to the attached image files for more details.

4 Answers, 1 is accepted

Sort by
0
ClausDC
Top achievements
Rank 1
Iron
Iron
answered on 08 Jul 2020, 09:34 AM
I upgraded from Telerik_UI_for_WPF_2019_2_618_Dev_Hotfix - which compiles just fine.
0
ClausDC
Top achievements
Rank 1
Iron
Iron
answered on 10 Jul 2020, 07:58 AM

More output log:

 

------ Rebuild All started: Project: dcits.Presentation, Configuration: Release Any CPU ------
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Telerik.Pivot.Core, Version=2019.2.618.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2106,5): warning MSB3277: Found conflicts between different versions of "Telerik.Pivot.Core" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(495,27,495,36): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(497,72,497,81): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(502,27,502,36): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(504,72,504,81): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(509,27,509,36): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
1>D:\Projects\dcits.Presentation\Main\dcits.Presentation\dcits.Presentation\Windows\ViewModels\ExportDialogViewModel.cs(511,72,511,81): error CS0012: The type 'IPivotFieldInfo' is defined in an assembly that is not referenced. You must add a reference to assembly 'Telerik.Pivot.Core, Version=2020.2.617.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.

0
Accepted
Vladimir Stoyanov
Telerik team
answered on 13 Jul 2020, 06:52 AM

Hello Claus,

I replied in the ticket, which you have opened, however I am posting my reply here as well for completeness.

"My guess is that the received error is due to a mixup of dlls, most likely caused by Visual Studio caching some old dlls. Can you try removing all of the Telerik dlls and manually readding them, while making sure that they are referenced from the same directory? Then you can delete the bin and obj folders and perform a clean and rebuild on the solution. Do give this a try and let me know how it goes."

Regards,
Vladimir Stoyanov
Progress Telerik

0
ClausDC
Top achievements
Rank 1
Iron
Iron
answered on 13 Jul 2020, 07:27 AM
One referenced assembly was set to "Specific Version" in Visual Studio which caused this conflict to appear.
Tags
General Discussions
Asked by
ClausDC
Top achievements
Rank 1
Iron
Iron
Answers by
ClausDC
Top achievements
Rank 1
Iron
Iron
Vladimir Stoyanov
Telerik team
Share this question
or