hi
i downloaded today NetAdvantage_WPF_20072_Beta.zip and tryed to run samples to evaluate the product for my customer.
I tryed 2 ways :
- using the shortcut to the program "xamFeatureBrowser.exe" in the start menu
- opening the .sln file "xamFeatureBrowser.sln" and trying to complile it.
none of them work. On the first way (open the exe file directly) i get an error just after i launch it (the error is : could not find app.xaml ressource)
On the second way, the solution does not build. I get many different build errors :
Error 21 The type reference cannot find a public type named 'Reflector'. Line 1132 Position 62. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\FeatureBrowser.xaml 1132 62 xamFeatureBrowserError 22 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 55 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamCarouselListBox\XamCarouselListBoxWelcome.xaml 55 5 xamFeatureBrowserError 23 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 58 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamCarouselPanel\XamCarouselPanelWelcome.xaml 58 5 xamFeatureBrowserError 24 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 58 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamChart\XamChartWelcome.xaml 58 5 xamFeatureBrowserError 25 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 61 Position 4. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamDataCarousel\XamDataCarouselWelcome.xaml 61 4 xamFeatureBrowserError 26 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 55 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamDataGrid\XamDataGridWelcome.xaml 55 5 xamFeatureBrowserError 27 The tag 'Reflector' does not exist in XML namespace 'clr-namespace:Infragistics.ToyBox;assembly=Infragistics.ToyBox'. Line 56 Position 5. C:\Documents and Settings\All Users\Documents\Infragistics\NetAdvantage for WPF 2007 Vol. 2\Samples\xamFeatureBrowser\xamFeatureBrowser\Samples\XamEditors\XamEditorsWelcome.xaml 56 5 xamFeatureBrowser
any help so that i can run the sample, would be appreciated, thank you
Hi,
I have the solution!
There is a problem with culture info. Add the constructor into the application (App.xaml) and it will work:
public App() { CultureInfo objCI = new CultureInfo("en-US"); Thread.CurrentThread.CurrentCulture = objCI; Thread.CurrentThread.CurrentUICulture = objCI; }
And the next problem: 'TableOfContents.xml' can not be found.
Copy 'TableOfContents.xml' file into 'Debug Full Trust' directory
and edit FeatureBrowser.xaml.cs (line 441):
xdpTableOfContents.Source = new Uri("pack://application:,,,/" + tocName);
to
xdpTableOfContents.Source = new Uri(_apppath +"\\"+ tocName);
And it works fine!!! ;-)
Great work!
I've added the constructor to app.xaml.cs. In addition I had to change my project configuration from "debug full trust" to "release". I did'nt need to copy 'TableOfContents.xml" or change FeatureBrowser.xaml.cs. Instead I changed TableOfContents.XML properties in the IDE:
I set the "Build Action" to "Content" and "Copy Local" to "Always".
I've documented those steps in my blog (German only):
http://blog.codemurai.de/2008/04/02/DieGeschichteVomInfragisticsXamFeatureBrowserUndNichtEnglischenBetriebssystemen.aspx