3

Closed

Compiling resx files

description

We tried to follow the guidelines to compile resx files.
Actually the system is copying the files from the source path to a "specifed" folder.
If we have in 2 separate folders 2 resx files with the same name (e.g. Form1.resx) NPanday generates only 1 file Form1.resources.
The file in the latest folder wins.

file attachments

Closed Sep 18, 2009 at 11:12 AM by apadilla
Fixed in NPanday 1.0.2.

comments

sernacio wrote Feb 12, 2009 at 2:33 AM

i already got resource file without culture working.
but still trying to work on with resource with culture.
since the cultured resource creates dll that can be accessed by the application during execution. unlike the normal resources that even without the resx file in the target directory, it will still work.

sernacio wrote Feb 12, 2009 at 2:42 AM

here is the discussion i added for this issue
http://www.codeplex.com/npanday/Thread/View.aspx?ThreadId=46891

jedioetzi wrote Mar 10, 2009 at 9:31 PM

in attachment a fix for satellite resources with culture. the correct namespace is taken from the relative .cs
I suppose the link() method should be moved to the linker plugin, but it seems to be not bound to any phase

jedioetzi wrote Mar 10, 2009 at 9:35 PM

let me know if you agree to include the code and which kind of changes you prefer .

jedioetzi wrote Mar 17, 2009 at 2:34 PM

a better working version

jedioetzi wrote Mar 17, 2009 at 2:34 PM

again

sernacio wrote Mar 19, 2009 at 10:05 AM

jjedioetzi, thanx for the input... we were considering using MSBuild in handling resx... but in cases the community changes his mind, this will be really helpful.

sernacio wrote Mar 19, 2009 at 10:07 AM

i'm commiting changes on how the project importer create the maven-resgen-plugin... since VB and C# have different behaviors..

LarsCorneliussen wrote Mar 2, 2010 at 2:17 PM

The last patch here doesn't seem to be in the trunk?

brettporter wrote Mar 12, 2010 at 4:03 AM

Lars, is there some functionality it provides that isn't in trunk? I'm having a bit of a hard time following this issue and would prefer to see a more specific use case that needs to be addressed.

LarsCorneliussen wrote Apr 27, 2010 at 9:39 AM

We have a quite specific usecase now :-) I have fixes that make the vs-addin run on german visual studio installations. but I need the satelite-assemblies to be compiled and deployed along...

brettporter wrote Apr 28, 2010 at 1:41 AM

it might be best to start a new issue with that use case and any relevant patches to make it easier to track