This repository has been archived by the owner on Apr 11, 2020. It is now read-only.
resx resources get embedded with the wrong resource identifier if the project's default namespace differs from the project name #311
Labels
The compiler currently embeds resx resources with the wrong resource identifier if the project's default namespace differs from the project name.
Scenario:
ConsoleApp1
ConsoleApp
Resource.resx
Expected behavior:
The resource would be embedded as
ConsoleApp.Resource.resources
Actual behavior:
The resource is embedded as
ConsoleApp1.Resource.resources
This is especially bad as Designer.cs files generated from .resx resources use the correct identifier when instantiating the resource manager resulting in
MissingManifestResourceException
s thrown at runtime when accessing any of the generated properties.Link to demo project
The text was updated successfully, but these errors were encountered: