CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: Date Entered: 3/23/2005 8:54:31 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 75 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
roibh
Asp.Net User
localization in vs2005 using satellite assemblies3/23/2005 8:54:31 PM

0

hi,
while migrating from 2003 to vs 2005 my application produced the following error:

Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "gui.resources" was correctly embedded or linked into assembly "ASPNET.r5_gxspi" at compile time, or that all the satellite assemblies required are loadable and fully signed.

the code is fune' it calls a ligitimate resource key using the resourcemanager and the
System.Reflection.Assembly.GetExecutingAssembly()


Dim rm As ResourceManager = New ResourceManager("gui", System.Reflection.Assembly.GetExecutingAssembly())
Application("rm") = rm
Thread.CurrentThread.CurrentUICulture = New Globalization.CultureInfo("en-GB")


this is the object init, the assemblies are compiled and present in the bin folder + referenced in the project, what am i doing wrong?

i have being stuck for 4 days with this issue with no proper solution. the msdn is saying something about signing the resource files, is it mandatory?

please please help....

Be Real
BrockAllen
Asp.Net User
Re: localization in vs2005 using satellite assemblies3/23/2005 9:05:11 PM

0

This feels like it's due to the new compilation model in ASP.NET 2.0. Did you previously have this code in your codebehind and compiled it with VS.NET 2003? So where are your resx files now and how are they getting compiled?

-Brock

DevelopMentor
http://staff.develop.com/ballen
roibh
Asp.Net User
Re: localization in vs2005 using satellite assemblies3/23/2005 9:41:42 PM

0

in the 2003 version the resx files where in the main project and compiled in to dlls according to their language,
now i wish to preserve this form of deployments by using a dll file for each languages, so i have opened a new project and added it to the vs website project, the new one only contains the resx files and i compile it seperately, for the website project i use a "project reference " to this new project.

making any sense?


thanks
roi

Be Real
Baiju
Asp.Net User
Re: localization in vs2005 using satellite assemblies4/1/2005 9:18:24 PM

0

In VWD resources in App_GlobalResource folder are build into seperate assembly.

Eg: in VS2002/VS2003
resMan = new ResourceManager("SatTest.WebForm1R", GetType(WebForm1, true).Assembly);
Button.Text = resMan.GetString("txtButton") 

In VWD you can change code something like this

Button.Text = Reources.WebForm1R.TxtButton1.

 

Baiju


"This posting is provided "AS IS" with no warranties, and confers no rights"
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional C# 2005 with .NET 3.0 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1748, Published: 2007
Pro Visual C++/CLI and the .NET 2.0 Platform Authors: Stephen R. G. Fraser, Pages: 917, Published: 2005
Programming .NET Components: Design and Build .NET Applications Using Component-Oriented Programming Authors: Juval Lowy, Pages: 624, Published: 2005
Professional C# 2005 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Allen Jones, Pages: 1540, Published: 2006
Pro WPF: Windows Presentation Foundation in .NET 3.0 Authors: Matthew MacDonald, Pages: 980, Published: 2007
Programming Windows Presentation Foundation Authors: Chris Sells, Ian Griffiths, Pages: 447, Published: 2005
Pro WPF in C# 2008: Windows Presentation Foundation With . Net 3. 5 Authors: Matthew MacDonald, Pages: 1040, Published: 2008
ASP. NET V. 2. 0-the Beta Version: The Beta Version Authors: Alex Homer, Dave Sussman, Rob Howard, Pages: 620, Published: 2004
Professional Visual Studio 2005 Authors: Andrew Parsons, Nick Randolph, Pages: 869, Published: 2006
Practical .NET2 and C#2: Harness the Platform, the Language, the Framework Authors: Patrick Smacchia, Pages: 896, Published: 2006

Web:
Build resource DLL (satellite assembly) for VS2005 - Bugs and ... Support forum of the software localization tool Sisulizer ... Build resource DLL (satellite assembly) for VS2005 - Bugs and Quirks in Sisulizer - Technical ...
Redsolo's blog site: Localisation with VS2005 will slow you down Nov 20, 2006 ... In the begining they probably liked doing it using VS2005 as the job got done ... As for the satellite assemblies, again, if they are that ...
Basic Instincts: Resources and Localization Culture Settings and Localization Satellite Assemblies .... Resource Files in Visual Studio 2005. Now I am going to focus on using resource files in a ...
CodeProject: .NET - Localization using Resource file. Free source ... I tried linking satellite assembly using the first way, but it doesn't work Confused . ... I am using VS2005. I am able to make the dll using Al.exe. ...
Satellite assemblies for multiple exes and dll in my project ... i am using visual studio 2005 and language : c# i have created satellite assemblies(for ... 3, Satellite assemblies and localization - general question. ...
Localization under VS 2005 - ASP.NET Forums Localization under VS 2005. Last post 08-07-2006 10:29 AM by ... that all the satellite assemblies required are loadable and fully signed. ...
Using Satellite Assemblies to Isolate Localised Resources The essential idea behind satellite assemblies is to isolate localizable ... So I dug into the localization model of WinForms to understand it (thank you ...
Creating and Using Satellite Assembly using Visual Studio 2005 ... Feb 14, 2008 ... Creating and Using Satellite Assembly using Visual Studio 2005 ... I am just practicing Localization with a sample Windows Application ...
Localization tutorial? to visual studio 2005... i am using borland devloper studio 2006 and .net1.1 ... The satellite assembly will not be strongly named when ...
Pedram Rezaei's Ramblings : Automated build of Satellite ... Aug 4, 2007 ... Much has been said and written about satellite assemblies and localization techniques that are achieved using them. ...












wizard - how to execute code based on wizard step next or previous click

templates missing in "add new item" box.

turn off development server off and use iis only?

question abou code (vwd)

asp.net 2.0 help with hello world simple deployment

vs2005 add-in suggestion

assembly references problem

windows media player in asp.net 2

visual studio express/net framework 2.0

weird bug-----"viewstate invalid "

the design tab/window seems to be locked for my asp.net page

impersonation and internal web server in vs2005 does not work

where is an query wizard?

design in asp.net 2.0 (2005)

class method fires all the time after debug

free upgrade to vs 2005 if you buy now?

help needed about mime, boundary, attachments, base64

web.config accessed when switching between source & design view.

debuggin web apps

trying to migrate beta 1 to ctp december

web deployment project & web application project - a bug?

running a website

create project file

don't appear solutions in vs2005!

error with sp1 install: 'file was rejected by digital signature policy'

vs 2005 "web deployment projects" project lacks macros?

publish website into an msi. asp.net

where to put application key constants?

useful tip for vs2005/coding novices....

visual studio giving error while creating new project.

vs 2005 edition question

attach to process in visual studio is not showing type - scripts

file upload error

how to share one .rds file in one solution?

adding more online help resources

increment time of program exection

object reference not set when adding dataset

web application projects dilemma

web application project and profile api

visual studio.net 2005 ide problems

installation of sp1 on vista

help!! i missing all controls on webpage.

vs 2005 how to create a new web project in c#

new font-consolas in vs 2005

vs 2005 : why is the default for autoeventwireup different for c# and vb.net ?

visual sourcesafe

databinding

dreamweaver library item equivalent?

asp in vs2005

source array was not long enough

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT