Jialiang Ge [MSFT]
9/12/2008 7:00:00 AM
Hello TS,
No. Only the assembly that access resource information needs this attribute.
For example, assembly A references assembly B. A does not use resource
files but B does, we only need to add the NeutralResourcesLanguageAttribute
attribute in B.
Have a nice day!
Regards,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
"TS" <manofsteele1@nospam.nospam> wrote in message
news:ettmvjDFJHA.5060@TK2MSFTNGP03.phx.gbl...
> so you're saying that if i have an assembly that calls a method in another
> assembly which accesses resource information, both assemblies need the
> reference?
>
>
> ""Jialiang Ge [MSFT]"" <jialge@online.microsoft.com> wrote in message
> news:wYjPJgQAJHA.624@TK2MSFTNGHUB02.phx.gbl...
>> Hello TS,
>>
>> I forgot to emphasize one point in my last reply:
>>
>> Please make sure that ALL your assemblies using resource assemblies have
>> the NeutralResourcesLanguageAttribute in AssemblyInfo.cs
>>
>> [assembly: NeutralResourcesLanguageAttribute("en-US")]
>>
>> If one assembly that uses the resource assembly does not have this
>> attribute, this assembly won't benefit from the optimization. In other
>> words, this assembly will still look for the resource dll in GAC and the
>> current/parent directory and fail to find it.
>>
>> Regards,
>> Jialiang Ge
>> Microsoft Online Community Support
>>
>> =================================================
>> Delighting our customers is our #1 priority. We welcome your comments and
>> suggestions about how we can improve the support we provide to you.
>> Please
>> feel free to let my manager know what you think of the level of service
>> provided. You can send feedback directly to my manager at:
>> msdnmg@microsoft.com.
>>
>> This posting is provided "AS IS" with no warranties, and confers no
>> rights.
>> =================================================
>>
>
>