Bug 555165 - Couldn't show GridSplitter sample which is build by mxap
Summary: Couldn't show GridSplitter sample which is build by mxap
Status: VERIFIED FIXED
Alias: None
Product: UI Automation
Classification: Mono
Component: Moonlight - General (show other bugs)
Version: Unspecified
Hardware: x86 openSUSE 11.1
: P3 - Medium : Normal
Target Milestone: Release 2.1
Assignee: Mario Carrion
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 546068
  Show dependency treegraph
 
Reported: 2009-11-13 06:57 UTC by calen chen
Modified: 2010-03-20 07:14 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
GridSplitter sample: please extract it and run 'make' to do mxap. TestPage.html and *.xap was build on Visual Studio (84.51 KB, application/x-gzip)
2009-11-13 06:57 UTC, calen chen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description calen chen 2009-11-13 06:57:23 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.
Comment 1 Andreia Vidigal Gaita 2009-11-19 18:27:04 UTC
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
Comment 2 calen chen 2010-01-14 11:02:09 UTC
(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%)
Comment 3 Mario Carrion 2010-03-19 20:18:50 UTC
Review: http://reviews.mono-a11y.org/r/720/
Comment 4 calen chen 2010-03-20 07:14:01 UTC
Closed!