I'm trying to include a text file that contains some static data that I need to read in when the app starts up. I've added the file and marked the Build Action to "Resource" but I'm unsure of how to actually read it in as a stream. Anyone know how to do this?
相关问题
- how to Enumerate local fonts in silverlight 4
- An error is occur when we use navigation to move o
- Free Silverlight mapping with Bing maps and OpenSt
- Change value of R.string programmatically?
- Custom number picker?
相关文章
- Working with hmacsha256 in windows store app
- WP7 Alert dialog
- How to check Android Asset resource?
- Are resource files compiled as UNICODE or ANSI cod
- New Windows Application - What language?
- relative url in wcf service binding
- Why ContextClassLoader returns path with exclamati
- Add Service Reference and Add Web Reference?
You can use the
System.Windows.Application.GetResourceStream
method:should do the trick
try this:
That should work for you.