Implemented support for \'ResourceName\' attribute on the Match and File nodes. The attributes value can contain the variables $(assemblyName), $(path), and $(filename) which are replaces with the respective values.
Assembly Name: The $(assemblyName) variable is replace the the hosting project\'s assembly name, if that project exists, otherwise a empty string is used.
Path: The $(path) is replaced with the relative path from the parent project with the directory seperator represented as a dot (i.e. \"Resources\\Pictures\" becomes \"Resources.Pictures\".
Filename: The $(filename) variable is replaced with the actual filename including extension.
Finally I\'ve also added a warning in Kernel.cs:488 in the case that it comes across an unexpected node (in my case I had the configuration nodes there instead of under the solution).
Note: I think this patch also includes the previous clean embedded solution fix and again only applies to the projects covered by VS Generic.
Oh and please don\'t feel obliged to check this in I just submitted it as the project I\'m working on required custom resource names and I thought I would share my changes :)
Fixed regex match issue.
I forgot to mention that I also updated the match node so that it would build a regular expression to do the pattern matching thus removing the additional pattern code path in recourse directory routine.
Unfortunately there was an issue where the regex generation from pattern failed because it didn't add the start and end position meta characters (^ and $ respectively), i.e. the pattern “*.cs” would generate “.*\.cs” instead of “^.*\.cs$” and would thus incorrectly match “project.csproj”. I have since updated the supplied patch which fixes this issues.