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