Okay - I'm confused.
If I have an embedded resource file called light.sms.txt, then it is not embedded, but if I change it to light.sms1.txt, then it is embeded ... emm .. why?
Here's what I do...
- Create a new WinForm project
- Add a text file called
light.sms.txt
and change build action to Embedded resource - Paste this code in Form1 ...
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Static embededResources As String() = GetType(Form1).Assembly.GetManifestResourceNames()
MsgBox(embededResources.Length.ToString)
End Sub
- Run the app - the result is 3
- Change the embbeded filename to
light.sms1.txt
- Run the app - the result is now 4
Why doesn't "light.sms.txt" get embedded?