Localization and strong names - fallback not working?
From: Freek Versteijn (Versteijn_at_discussions.microsoft.com)
Date: 12/20/04
- Next message: cecil: "Re: How to do this in VB .Net. Creating a file handle?"
- Previous message: M K: "How to create an unsigned char in VB.Net"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 20 Dec 2004 07:19:06 -0800
Dear all,
I have developed an ASP.NET application which uses localization. One of my
shared assemblies needs localized resources. So I created satellite
assemblies with resources for it. I also added a AssemblyKeyFileAttribute.
The main thing is: I get an IoException when starting the app, that ASP.NET
could not find the resources assembly for the current culture. The file is my
fallback resources file (i.e. it's in my bin folder), but the framework does
not seem to be searching that folder. Here is the LOG:
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/MyApp/9f4dac8a/49f02a07/nl-NL/MyApp.Exceptions.resources.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/MyApp/9f4dac8a/49f02a07/nl-NL/MyApp.Exceptions.resources/MyApp.Exceptions.resources.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MyApp/bin/nl-NL/MyApp.Exceptions.resources.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MyApp/bin/nl-NL/MyApp.Exceptions.resources/MyApp.Exceptions.resources.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/MyApp/9f4dac8a/49f02a07/nl-NL/MyApp.Exceptions.resources.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/MyApp/9f4dac8a/49f02a07/nl-NL/MyApp.Exceptions.resources/MyApp.Exceptions.resources.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MyApp/bin/nl-NL/MyApp.Exceptions.resources.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/MyApp/bin/nl-NL/MyApp.Exceptions.resources/MyApp.Exceptions.resources.EXE.
Note that I have not registered any assemblies in the GAC yet. Just wanted
to test it through my application folder first. When I place the resources
file in the nl-NL folder, it seems to work. But that's not what I want.
Any clues?
Thank so in advance.
Kind regards,
Freek Versteijn
- Next message: cecil: "Re: How to do this in VB .Net. Creating a file handle?"
- Previous message: M K: "How to create an unsigned char in VB.Net"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|