Hi,
I have files in the Resources folder and I have set the Build Action to Embedded Resource, why I still receiving Null when calling GetManifestResourceStream?
What I missed?Code:var assembly = Assembly.GetEntryAssembly(); var resourceStream = assembly.GetManifestResourceStream(Assembly.GetCallingAssembly().GetName().Name + ".Resources.MyTest.html"); if (resourceStream != null) { using (var reader = new StreamReader(resourceStream, Encoding.UTF8)) { _msg = await reader.ReadToEndAsync(); }