HighTechTalks DotNet Forums  

Changes to resource files not found in build.

Dotnet Internationalization microsoft.public.dotnet.internationalization


Discuss Changes to resource files not found in build. in the Dotnet Internationalization forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ray Seaward via .NET 247
 
Posts: n/a

Default Changes to resource files not found in build. - 10-17-2004 , 06:04 AM






Hello. I'm working on an application in VB.Net using VisualStudio .Net 2003. Since our application has to be in Engligh andin French (depending upon user selection), we're using theResourceManager class to reference the localization .resx files.Here's the problem:

Changes we make in development are not showing up in the builtapplication. But, this is not true in all cases. That is, someof the items are returned translated whereas some are not. Itseems to me that all newly translated items are not beingrecognized by the build process and are not being included asembedded resources.

Has anyone else come across this problem during the buildprocess? (As a note, all translations work fine in debug mode.)

Thanks in advance,
Ray

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>O5TWUskL8UyVh2/k+MyYzQ==</Id>

Reply With Quote
  #2  
Old   
Jorge Matos
 
Posts: n/a

Default RE: Changes to resource files not found in build. - 10-20-2004 , 03:03 PM






Ray,

Are you using Satelite assemblies? or embedded "resx" files in the IDE? One
thing to verify if using the IDE is that the "Build Action" for each "resx"
file is set to "Embedded Resource". There's also a naming standard to how
you access resources.

For more information
http://msdn.microsoft.com/msdntv/epi...a/manifest.xml

http://msdn.microsoft.com/library/de...gResources.asp

http://blogs.msdn.com/achimr/


http://msdn.microsoft.com/library/de..._resources.asp

"Ray Seaward via .NET 247" wrote:

Quote:
Hello. I'm working on an application in VB.Net using Visual Studio .Net 2003. Since our application has to be in Engligh and in French (depending upon user selection), we're using the ResourceManager class to reference the localization .resx files. Here's the problem:

Changes we make in development are not showing up in the built application. But, this is not true in all cases. That is, some of the items are returned translated whereas some are not. It seems to me that all newly translated items are not being recognized by the build process and are not being included as embedded resources.

Has anyone else come across this problem during the build process? (As a note, all translations work fine in debug mode.)

Thanks in advance,
Ray

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

Id>O5TWUskL8UyVh2/k+MyYzQ==</Id


Reply With Quote
  #3  
Old   
Marshal
 
Posts: n/a

Default RE: Changes to resource files not found in build. - 10-31-2004 , 06:34 AM



Hi,

I also faced the same problem and solved it by doing 'Rebuild All' whenever
the resource was changed. Try it out.

regards
Marshal

"Ray Seaward via .NET 247" wrote:

Quote:
Hello. I'm working on an application in VB.Net using Visual Studio .Net 2003. Since our application has to be in Engligh and in French (depending upon user selection), we're using the ResourceManager class to reference the localization .resx files. Here's the problem:

Changes we make in development are not showing up in the built application. But, this is not true in all cases. That is, some of the items are returned translated whereas some are not. It seems to me that all newly translated items are not being recognized by the build process and are not being included as embedded resources.

Has anyone else come across this problem during the build process? (As a note, all translations work fine in debug mode.)

Thanks in advance,
Ray

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

Id>O5TWUskL8UyVh2/k+MyYzQ==</Id


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.