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

issue in accessing telerik dlls

1 Answer 88 Views
Chart for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nazia
Top achievements
Rank 1
Nazia asked on 18 Dec 2012, 08:08 AM
Hi all,
I am creating a class library to display charts using telerik dlls, which can be used in multiple apps.
so I created a class library , added all the required files and folders (like "Chart","Core"... folders ) in a folder named "Lib" and accessing the dlls from that folder and it successfully builds.
Now when I refer this class library dll in a metro app , it gives errors like
"Payload file 'C:\Desktop\TelerikChartdll\TelerikChartdll\bin\Debug\Telerik.UI.Xaml.Chart\Themes\Generic.xaml' does not exist."
I set the build action for all the files to "Embedded Resource".
Previously there were errors for all the files including dlls in that Lib folder. Now after changing the build action, error raises for xaml files.
How to solve this issue???

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 20 Dec 2012, 05:05 PM
Hello Nazia,

Such deployment model where the xaml files are marked as "Embedded Resource" will not work as the xaml parser will not be able to parse them (this is not specific to our controls but to the windows store app model).

You can either reference the RadControls for Windows8 SDK in your class library (thus you will not need to manage binaries and loose xaml files) or you will need to create your own SDK (VSIX extension package) to handle the deployment of the binaries and the loose xaml files.

Hope this helps.


All the best,
Giuseppe
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
Chart for XAML
Asked by
Nazia
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or