Using dotnet core: .NET Core SDK Version: 3.1.102
Why is the following returning null
?
typeof(MyClassName).GetTypeInfo().Assembly.GetManifestResourceStream("MyFile.cs")
I verified the file exists in solution and has build action in properties 'Embedded Resource'