How to: Import or Export Resources
You cannot edit embedded resources in a Visual Studio project directly in the Visual Studio IDE; you must export and edit them in an external program, then import them back into the project.
Note
By default, all resources in a Visual Studio project are created as linked resources; you have to convert them explicitly to embedded resources. For more information, see Linked and Embedded Resources.
To export an embedded resource
Select a project in Solution Explorer and then click Properties on the Project menu.
Click the Resources tab. The Resource Designer page appears with a toolbar at the top.
In the first dropdown box on the Resource Designer toolbar, select an embedded resource type that you want to import, such as "Images," "Icons," or "Audio." All resources of that type that exist in the project appear in the Resource Designer.
Select the resource that you want to export, such as an icon or audio file.
Right-click the resource and choose Export To File on the shortcut menu.
Note
This command is available only for embedded resources.
In the Export resource to file dialog box, browse to the location where you wish to export the file, and then click Save.
To import a resource
Select a project in Solution Explorer and then click Properties on the Project menu.
Click the Resources tab. The Resource Designer page appears.
In the first dropdown box on the Resource Designer toolbar, select an embedded resource type that you want to import, such as "Images," "Icons," or "Audio." All resources of that type that exist in the project appear in the Resource Designer.
Select the resource that you wish to import, such as an icon or audio file.
Right-click the resource and choose Import From File on the shortcut menu.
Note
This command is available only for embedded resources.
In the Import file into resource dialog box, browse to the file you wish to import, and then click Open.
See Also
Tasks
How to: Create Embedded Resources