SoftwareSavant
SoftwareSavant

Reputation: 9747

Can I convert a My.Resources file into a Properties.Resources file

I already have an existing My.Resources File, I would like to convert to a Properties.Resources file. I wouldn't want to do it by hand (that could get ugly). Is there a tool out there that is capable of doing that?

Upvotes: 1

Views: 500

Answers (1)

JaredPar
JaredPar

Reputation: 754853

The My.Resources type is really just a standard .resx file that exists in your project. This is exactly the same format that C# uses and can be copied directly from one project to the other.

The .resx file will be under the My Project folder of your project. The easiest way to import it over is to

  • Right click on the C# project
  • Add -> Existing Item
  • Navigate to the vb.net .resx file and select it

Upvotes: 2

Related Questions