Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / September 2006

Tip: Looking for answers? Try searching our database.

Issue with embeding satellite assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ghanashyam - 29 Aug 2006 05:21 GMT
In my windows application if I embed the resource (Using add file option)
Form1.hi-IN.Resx with build action as embeded resource then it works
correctly.I get all hi-IN related resource I have stored in resx file.
Following commands I use when I update the .RESX file and try to embed the
updated resource to my assembly.

C:\Documents and Settings\gsatpath\Desktop>"C:\Program Files\Microsoft
Visual St
udio .NET 2003\SDK\v1.1\Bin\ResGen.exe" D:\KInt\GenMultForm\Form1.hi-IN.resx
D:\KInt\GenMultForm\Obj\Debug\MultilingualForm.Form1.hi-IN.resources

C:\Documents and
Settings\gsatpath\Desktop>C:\WINNT\Microsoft.NET\Framework\v2.0
.50727\AL.exe /culture:hi-IN
/out:d:\KInt\GenMultForm\obj\Debug\hi-In\Multilingu
alForm.resources.dll
/template:d:\KInt\GenMultForm\obj\Debug\MultilingualForm.ex
e /embed:d:\KInt\GenMultForm\obj\Debug\MultilingualForm.Form1.hi-IN.resources

And both the commands get executed succesfully and I see the satellite
assembly under \hi-IN directory.ANd when I execute my assembly I dont see the
updated resource.However if I build my GUI application in VS.NET it works.Not
sure exactly what I am missing in the above two commands which generates
resource and creates the satellite assembly.Any helo in this regard is highly
appreciated.
Thanks.
Ghanashyam
Garrett McGowan[MSFT] - 16 Sep 2006 01:44 GMT
Is there a particular reason you are using the 1.1 version of resgen.exe
and then the 2.0 version of al.exe? I expect that this will work if you use
version 2.0 of both SDK tools.

Garrett McGowan [MSFT Developer International]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
>From: Ghanashyam@discussions.microsoft.com
>Subject: Issue with embeding satellite assembly
[quoted text clipped - 19 lines]
>/template:d:\KInt\GenMultForm\obj\Debug\MultilingualForm.ex
>e
/embed:d:\KInt\GenMultForm\obj\Debug\MultilingualForm.Form1.hi-IN.resources

>And both the commands get executed succesfully and I see the satellite
>assembly under \hi-IN directory.ANd when I execute my assembly I dont see the
[quoted text clipped - 4 lines]
>Thanks.
>Ghanashyam

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.