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

FileLoadException

1 Answer 152 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 28 Jul 2011, 01:30 AM
i'm using the latest version of the WPF controls but it seems that the RTB wants to load an old version of the Telerik.Windows.Documents assembly.

{"Could not load file or assembly 'Telerik.Windows.Documents, Version=2011.1.419.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)":"Telerik.Windows.Documents, Version=2011.1.419.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"}

I've examined my project's references and it appears to be referencing the correct version of the 2011.2 controls.

"Locating source for 'c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs'. Checksum: MD5 {e2 9a ab de 97 19 2a fe ba a7 ec a5 15 77 8f 5d}
The file 'c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs' does not exist.
Looking in script documents for 'c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs'...
Looking in the projects for 'c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs.
The debugger could not locate the source file 'c:\TB\102\WPF_Scrum\Release_WPF_40\Sources\Development\Documents\UI\DocumentWebLayoutPresenter.cs'."

I'm using only the RTB on the control with HTML binding.

    <Reference Include="Telerik.Windows.Controls, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" />
    <Reference Include="Telerik.Windows.Controls.Navigation, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" />
    <Reference Include="Telerik.Windows.Data, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" />
    <Reference Include="Telerik.Windows.Documents, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" />
    <Reference Include="Telerik.Windows.Documents.FormatProviders.Html, Version=2011.2.712.40, Culture=neutral, PublicKeyToken=5803cfa389c90ce7" />

Any help would be greatly appreciated.

Regards,

John Hamilton

P.S. I had the Q1 trial installed previous to buying the Dev version. I did uninstall before I installed the latest build of dotnet 4.0's assemblies.

1 Answer, 1 is accepted

Sort by
0
John
Top achievements
Rank 1
answered on 28 Jul 2011, 07:38 PM
Disregard. VS 2010 wasn't actually cleaning the folders when I'd ask it. Manually deleted my Debug folder contents and all is well.
Tags
RichTextBox
Asked by
John
Top achievements
Rank 1
Answers by
John
Top achievements
Rank 1
Share this question
or