Sunday, January 15, 2006
by Nik Kalyani
Sunday, January 15, 2006 9:08:03 PM (Pacific Standard Time, UTC-08:00)

Discovered something quite by accident today. If you use an embedded file in a VS.Net project and have the filename in the format [basename].[locale].[extension] (example: MyInfo.en-US.xml), VS.Net automatically presumes that this is a culture-specific resource, puts it in a separate assembly and drops it into a subfolder of the main “bin” folder. The subfolder has the same name as the locale.

I am not sure if there’s an easy way around it, but for now, I simply removed the locale from the filename and it works as expected.

 

Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, i, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview
RSS feed
Search and Links
Bling

View Nik Kalyani's profile on LinkedIn

Contact me: nik*kalyani.com (replace "*")

TechBubble
www.flickr.com
This is a Flickr badge showing public photos from techbubble. Make your own badge here.
Statistics
Total Posts: 216
This Year: 34
This Month: 2
This Week: 0
Comments: 238
About the author/Disclaimer

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

© Copyright 2008
Nik Kalyani
Sign In
All Content © 2008, Nik Kalyani