issues (bug?) with Visual Studio 2005 .resources files handling  
Author Message
Simon Mourier





PostPosted: Visual C# IDE, issues (bug?) with Visual Studio 2005 .resources files handling Top

Hi,

Let's say I have a ClassLibrary project that contains three .resources (not resx) files, as:

ClassLib1.en-US.resources

ClassLib1.fr-FR.resources

ClassLib1.resources

When I compile the project (the 3 .resources files have an "Embeded Resource" build action), I end up with 3 dlls, one culture-,neutral, one for the fr-FR culture (in the fr-FR directory), and one for the en-US culture (in thre en-US directory).

The problem is the two satellite assemblies contain a resource called:

ClassLibrary1.ClassLib1.resources

where it SHOULD (IMHO) contain

ClassLibrary1.ClassLib1.en-US.resources (or ClassLibrary1.ClassLib1.fr-FR.resources).

The problem is the ResourceManager class cannot open a resource called ClassLibrary.ClassLib1.resources in a satellite assembly.

Note this worked FINE with Visual Studio 2003.

Any idea is welcome.




Visual C#16  
 
 
Simon Mourier





PostPosted: Visual C# IDE, issues (bug?) with Visual Studio 2005 .resources files handling Top

As noone confirmed this, I suppose it was a bug