I installed the Oslo CTP SDK on my laptop, and wanted to try out some MGrammar stuff. I looked all around the tool to find the switch to enable the three pane view ‘MGrammar Mode´ as was shown in the demo’ s on the PDC.
So when browsing the SDK folder I found the Sample Sources directory :
” C:\Program Files\Microsoft Oslo SDK 1.0\Bin\Intellipad\Sample Sources”
It contains a VS solution file which contains a Microsoft.M.Grammar.IntellipadPlugin project; so it seems to me that I should do something with this project.
So I fired up the solution and built it right away.
Within the components directory of the Intellipad tool, I created a new folder called “Microsoft.M.Grammar.IntellipadPlugin” and I copied over a bunch of files:
The Private directory contains the “ModeMenuItem.xcml” file which can be found in the Private directory at the samples source location.
Also copy the Microsoft.M.Grammar.dll assembly into this new component directory and you are good to go.
Now when you fire up Intellipad, and open an .mg file, you will see an “MGrammar Mode” menu item appear. Click it, select “Tree Preview” and open up the .mg file, and you will see the three pane view like in the demo’s on the PDC.
UPDATE 3/11/2008:
Just found at that Owen Evans found this (and his solution is easier :) )out a bit earlier than I did, check his blog at http://bgeek.net/2008/10/28/getting-oslos-intellipad-to-show-mgrammar-mode/
Also check out this intellipad blog: http://blogs.msdn.com/intellipad/archive/2008/10/29/creating-and-editing-mgrammar-files-with-intellipad.aspx
Currently rated 5.0 by 1 people
- Currently 5/5 Stars.
- 1
- 2
- 3
- 4
- 5