dsp_099
dsp_099

Reputation: 6121

.resx file data inaccessible in Visual C#

What I'm trying to do: include some files along with the executable to extract them later.

I have two projects, both with a Resource1.resx file (and some resources included from disk).

I've done this before but all I can find is information about localizations (?) when I search MSDN for how to work with Resources.

Edit: if it makes a difference, I'm using .NET 2.0 (yeah I know)

Upvotes: 0

Views: 107

Answers (2)

dsp_099
dsp_099

Reputation: 6121

If you rename your project using the Solution Browser, it will not change all of the relevant instances of that name.

So by extension, calling ResxItemName won't do you any good because it's actually OriginalNameSpace.ResxItemName.

Upvotes: 0

Boland
Boland

Reputation: 1571

Please check the build action of the resx file. It should be set to compile (from the top of my head) to make it a compiled resource.

Upvotes: 1

Related Questions