Bugzilla – Bug 555165
Couldn't show GridSplitter sample which is build by mxap
Last modified: 2010-03-20 07:14:01 UTC
Created attachment 327309 [details] GridSplitter sample: please extract it and run 'make' to do mxap. TestPage.html and *.xap was build on Visual Studio REPRO: 1. I have created a sample with GridSplitter and TextBlock control 2. the sample can be build by mxap successful to create html and xap 3. run the html with Forefox on linux RESULTS: Couldn't show GridSpitter and TextBlock element on Firefox window but I got a blank page EXPECTED RESULTS: Elements should be shown on the page. COMMENTS: If I build the sample by Visual Studio and copy to Linux, the TestPage.html can works well.
If you look inside the xap file that VS produces, you'll notice that it includes the dll in it, and to compile apps that use the System.Windows.Controls assembly, you need to reference it with mxap to do the same. Assuming your moon directory is on ~/work/moon , you need to do: mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll --builddirhack=~/work/moon
(In reply to comment #1) > If you look inside the xap file that VS produces, you'll notice that it > includes the dll in it, and to compile apps that use the > System.Windows.Controls assembly, you need to reference it with mxap to do the > same. > > Assuming your moon directory is on ~/work/moon , you need to do: > > mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll > --builddirhack=~/work/moon Hey, I have done it following your Comment 1, but I got the same problem, could you help to take a look again, or I am missing something? Sorry I reply late, big thanks! [mono]/A11y/uia2atk-test/samples/moonlight/GridSplitter@ mxap --application-name=GridSplitterSample -r=System.Windows.Controls.dll --builddirhack=/A11y/mono-2.6/moon/ adding: AppManifest.xaml (deflated 47%) adding: GridSplitterSample.dll (deflated 64%) adding: GridSplitterSample.dll.mdb (deflated 57%)
Review: http://reviews.mono-a11y.org/r/720/
Closed!