473,657 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

satellite assemblies in ASP.NET 2.0

In ASP.NET 2.0 you have the choice of using the built in
App_GlobalResor uces or App_LocalResour ces style of using resources or
you can use your own resources utilizing satellite assemblies. In the
SDK under "Resources in ASP.NET Applications" the documentation
demonstrates how to use your own satellite assemblies and instructs
you to build a folder structure under the bin folder. Following all of
the correct procedures (taking an resx file and creating a resource
file and then compiling a dll and placing them in the correct folders
with the correct names) the main or neutral resource is found but none
of the satellite assemblies are found. If you look in
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET Files
for the website you can see that the assemblies under the satellite
folders are not being created. Has anyone ran into this and if so what
did they do. This particualr situation requires the use of satellite
assemblies that are created "old school".
Adam Calderon [MCSD,MCAD,MCP]
http://blogs.interknowlogy.com/adamcalderon
Dec 5 '05 #1
3 1675
Store the resources in an class library and compile them and add a reference
from your web app to the class library - done.

--
Daniel Fisher(lennybac on)
http://www.lennybacon.com
"Adam Calderon" <ad***@interkno wlogy.com> wrote in message
news:ke******** *************** *********@4ax.c om...
In ASP.NET 2.0 you have the choice of using the built in
App_GlobalResor uces or App_LocalResour ces style of using resources or
you can use your own resources utilizing satellite assemblies. In the
SDK under "Resources in ASP.NET Applications" the documentation
demonstrates how to use your own satellite assemblies and instructs
you to build a folder structure under the bin folder. Following all of
the correct procedures (taking an resx file and creating a resource
file and then compiling a dll and placing them in the correct folders
with the correct names) the main or neutral resource is found but none
of the satellite assemblies are found. If you look in
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET Files
for the website you can see that the assemblies under the satellite
folders are not being created. Has anyone ran into this and if so what
did they do. This particualr situation requires the use of satellite
assemblies that are created "old school".
Adam Calderon [MCSD,MCAD,MCP]
http://blogs.interknowlogy.com/adamcalderon

Dec 6 '05 #2
Daniel,
thanks for the response. Your solution will work but it does not lend
itself to to easily adding a directory and resource dll after compile
time which is all you would have to do with satellite assemblies. I
will keep on searching but thanks for the response.

On Tue, 6 Dec 2005 10:46:59 +0100, "Daniel Fisher\(lennyba con\)"
<in**@lennybaco n.com> wrote:
Store the resources in an class library and compile them and add a reference
from your web app to the class library - done.

Adam Calderon
http://blogs.interknowlogy.com/adamcalderon
Dec 6 '05 #3
I have found a work around for this issue.

Instead of including the .resource files to the class library project,
I included the .resx files. VS.NET will still compile the .resx to the
binary .resource file and build the satellite assemblies.

It appears that VS.NET 2005 can no longer create satellite assemblies
from .resource files. Bug?

Dec 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1154
by: John | last post by:
Hi, i have two Projects A, B. Both have satellite assemblies (for internationalization). B depend on A. After compilation, the satellite assemblies from B (B\bin\Debug\en) are in A\bin\Debug\en. But if i run the debuger, the satellite assemblies from B was not copy to emulator. thanks, John
8
4935
by: nbaiju | last post by:
Hi, I am building a asp.net application which has satellite assemblies. When building the satellite assemblies dll's from Visual Studio 2003 GUI the application works fine . i.e. the resource dll's of different cultures are loaded correctly. But When I build the satellite assemblies dll's using al.exe the application defaults to the culture neutral strings. I am using the command line below to build my resource dll's. al /t:lib...
1
6929
by: Afaq | last post by:
Hi, After adding large number of empty resource files (which will be updated later), we are not able to compile the project. the following is the output of the build process. It fails while compiling the Max.UI.Win project with the following error Satellite assemblies could not be built because the main project output is missing.
0
1570
by: thbst16 | last post by:
After a number of weeks of fruitless research and experimentation, I decided to turn to the group with this issue and see if anyone had any experiences or insights that might help me out. Here's what I'm facing: · Deploying Windows Form client using Zero Touch deployment. · I use a variant of Rocky Lhotka's NetRun utility to bootstrap the application. This utility is client resident and sets permissions to "Full Trust" prior to invoking...
5
10053
by: Rudolf Ball | last post by:
Dear NG, i want to load a plugin (WinForm) in my Applikation. That works fine. Now I want to globalize that plugin. So I have to load the Satellite Assembly, as well. But how can I load this (and when?). Thank you very much Rudi
3
2144
by: BBC1009 | last post by:
Don't know why when rebuild VB.Net project (vb.net 2002 framework 1.0), this error comes out suddenly. Anyone can help. Thanks!!!!
3
1620
by: gjenglish | last post by:
I have recently migrated an ASP.NET 1.1 web application to ASP.NET 2.0. In this application I am storing all my resources in satellite assemblies and I am accessing them via the ResourceManager object. However, the ResourceManager is no longer returning the resources from the satellite assemblies; it appears that it is always using the fallback resource assembly (neutral); which in my case is the resource assembly that is embedded in the...
0
1493
by: Faris Ahmed | last post by:
Dear ASP newsgroup, I have the following environment: 1) VS2005 ASP.NET 2.0 WebApplication called MyApp. 2) MyApp contains Strings.resx, Strings.en.resx and Strings.de.resx in 'App_GlobalResources' folder. 3) MyApp contains standard AssemblyVersion and AssemblyInformationalVersion
0
2313
by: npthomson | last post by:
Hi all, This could get a bit complicated but I'll try to be as clear as possible. I've written an application that discovers plugins at runtime using reflection from a subdirectory of the application, eg: In the directory the application is installed to: \application.exe \plugins\plugin1.dll
0
8315
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8734
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8508
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5633
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4164
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4323
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2733
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1962
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.