This Custom Tool for Visual Studio 2005/2008 was originally published by Dmytro Kryvko at The Code Project
. I've found the tool useful for solving Visual Studio Issue 351765 (ResXFileCodeGenerator generates incorrect code when <LogicalName> is set)
. The tool only needed small change, I've done. I believe that I'm not violating any license terms by publishing the updated tool here.
The <LogicalName> is not-well-documented feature of MSBuild. It allows you to specify name under which Embedded Resource id located in your assembly. This feature is set by creating tag <LogicalName>My.Resource.Name.resources</LogicalName> inside the <EmbeddedResource> tag in .vbproj/
.csproj (or what language you use) file. But original Microsft embedded resource generators simply ignores that which causes exception to be thrown when you try access the resource via generated class.
- 2009/10/05 - corrected download files