var assembly = Assembly.GetExecutingAssembly();
var stream = assembly.GetManifestResourceStream(path)
得到的stream是null,
解决办法:找到文件,右键-属性-生成操作-改为嵌入资源
标签:GetManifestResourceStream,嵌入,assembly,stream,var,资源 From: https://www.cnblogs.com/dayang12525/p/17264020.html