![Avatar](https://secure.gravatar.com/avatar/c096012f4ce5aa37ceaa9530b595e8f6.jpg?s=64&d=identicon&r=g)
When i pass the path i am not able to stream my language defintion file
public
staticISyntaxLanguage LoadLanguageDefinitionFromResourceStream(stringfilename) {
stringpath = DefinitionPath + filename;
using (Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(path)) {
if (stream != null) {
SyntaxLanguageDefinitionSerializer serializer = newSyntaxLanguageDefinitionSerializer();
returnserializer.LoadFromStream(stream);}
elsereturnSyntaxLanguage.PlainText;}
}
i am getting stream as null.
can u help