473,382 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

satellite assemblies in ASP.NET 2.0

In ASP.NET 2.0 you have the choice of using the built in
App_GlobalResoruces or App_LocalResources 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\Microsoft.NET\Framework\v2.0.50727\Temp orary 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 1668
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(lennybacon)
http://www.lennybacon.com
"Adam Calderon" <ad***@interknowlogy.com> wrote in message
news:ke********************************@4ax.com...
In ASP.NET 2.0 you have the choice of using the built in
App_GlobalResoruces or App_LocalResources 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\Microsoft.NET\Framework\v2.0.50727\Temp orary 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\(lennybacon\)"
<in**@lennybacon.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
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....
8
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...
1
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...
0
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...
5
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...
3
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
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...
0
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...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.