I'm trying to migrate from an old style csproj file where I have this in the file
<ItemGroup>
<Resource Include="Resources\CustomerLogo.png" />
</ItemGroup>
and when I, in my code, calls:
var resourceManager = new ResourceManager(assembly.GetName().Name + ".g", assembly);
var culture = System.Threading.Thread.CurrentThread.CurrentCulture;
var resourceSet = resourceManager.GetResourceSet(culture, true, true);
I can find the file in the resourceSet with Resources\CustomerLogo.png as key and a stream as value.
I have now tried converting the csproj file, and it still includes the ItemGroup, but now it does not appear in the resourceSet.
Any that can help me?
Yours /peter