.net 3.5 资源文件命名的问题

by benben 4/27/2008 7:18:00 PM

今天安装了.net 3.5后,原来的一个多国语言的页面编译不通过。提示错误为

Compiler Error Message: CS0101: The namespace 'Resources' already contains a definition for 'Resource'

网上搜索了下,也没解决方案,弄了半天,后来发现.net 3.5里的资源文件命名要符合规范

 比如中文就要命名为"Resource.zh-CN.resx"

附件为所有国家语言命名规则

culture.zip (293.11 kb)

test

Tags:

.net

Comments

4/29/2008 12:13:46 PM

.net ?很强大!!

vera cn

Add comment

 

   

 

  Country flag

buquote
Loading

Powered by BlogEngine.NET 苏ICP备08023017号



Recent comments

Author

声明

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in