简体   繁体   中英

.g.i.cs missing using statement for Telerik controls

I've inherited a Silverlight application that is using Telerik controls. I'm pretty new to Silverlight, so a noob question follows. When trying to build the solution, I'm getting name could not be found errors for the Telerik controls. When I look at the *.gics files, the "using Telerik.Windows.Controls" is missing from the auto-generated files. Of course if I make the change directly, it gets over written when I do the build. How do I tell Silverlight to include the Telerik using statement when generating the .gics files?

The fix is to include this in your control:

xmlns:input="clr-namespace ystem.Windows.Controls;assembly=System.Windows.Controls.Data.Input"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM