VS 2010 Pro (ver 4.0.3019 SP1Rel) crashes when I add the attribute DocumentSource="" to the XAML.
My steps are as follows:
- Create new Telerik > Windows > C# RadControls WPF Application (>net 3.5 or 4.0)
- Choose Telerik.Windows.Controls.FixedDocumentViewers
- Auto-Selects Telerik.Windows.Controls
- Auto-Selects Telerik.Windows.Documents.Fixed
- Click Finish
- Add <telerik:RadPdfViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></telerik:RadPdfViewer> to Window XAML
Then, as step 7, as soon as I add the attribute DocumentSource="", the ide crashes and restarts. It can simply be empty quotes or I can add a reference to a pdf added as a resource, it doesn't matter. As soon as the second quotation mark is added and the designer tries to update, it crashes.
Hope you can help!!!
UPDATE:
If I try to assign the DocumentSource in the codebehind, I get the error:
Locating source for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'. Checksum: MD5 {9 32 c2 2f 18 c8 80 10 92 4e 2 a0 df da f3 e2}
The file 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs' does not exist.
Looking in script documents for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'...
Looking in the projects for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.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\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs.
The debugger could not locate the source file 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'.