
I apologize for the newbie question:
I'm trying to get the MGrammarIntegration-CSharp.VS2010 project up and running. I've installed the latest Oslo SDK and have references to Xaml.dll and System.Dataflow.dll in my project. I added the compiled Simple.mx as an embedded resource (I'm guessing this is the correct thing to do) in the project and now want to set up the DynamicParser in the MainWindow.xaml.cs file. I think (contrary to the code in the current example), I want to do something like the following:
DynamicParser parser = DynamicParser.LoadFromResource(System.Reflection.Assembly.GetExecutingAssembly().GetName().Name, "Simple.mx");
but this doesn't appear to work. (The example calls LoadFromStream and this isn't a valid call on a DynamicParser object)
Any help/hints would be appreciated.
I'm trying to get the MGrammarIntegration-CSharp.VS2010 project up and running. I've installed the latest Oslo SDK and have references to Xaml.dll and System.Dataflow.dll in my project. I added the compiled Simple.mx as an embedded resource (I'm guessing this is the correct thing to do) in the project and now want to set up the DynamicParser in the MainWindow.xaml.cs file. I think (contrary to the code in the current example), I want to do something like the following:
DynamicParser parser = DynamicParser.LoadFromResource(System.Reflection.Assembly.GetExecutingAssembly().GetName().Name, "Simple.mx");
but this doesn't appear to work. (The example calls LoadFromStream and this isn't a valid call on a DynamicParser object)
Any help/hints would be appreciated.