Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Add Resource as Link (C++)

I am attempting to add a linked resource to my C++ project in Visual Studio. However when I select 'Add Existing Item' and look for the 'Add as Link' option from the 'Add' button dropdown, it is not available.

However, I do see this option available for .NET projects.

Does this functionality not exist for C++ in Visual Studio 2010?

like image 217
cweston Avatar asked Apr 18 '11 15:04

cweston


People also ask

How do I add a resource to Visual Studio?

In Visual Studio, open a SharePoint solution. In Solution Explorer, choose a SharePoint project node, and then, on the menu bar, choose Project > Add New Item. In the Add New Item dialog box, choose the Global Resources File template, and then choose the Add button.

How do I add resources to Visual Studio C++?

In the menu, go to Project > Add New Item. Select the Visual C++ folder and choose Resource File (. rc) in the right pane. Provide a name for your resource script file in the Name text box and select Open.

How do I add a link in Visual Studio?

1) Right-click “utilities” folder on Visual Studio and select “Add -> Existing item”. 2) Select the file to add, clicking on it ONCE (do not double-click). 3) Click in the arrow next to the “Add” button and select “Add As Link”.


1 Answers

That's the default. You don't need a separate button.

If you want the file in your project folder, you put it there first.

like image 168
Bo Persson Avatar answered Oct 05 '22 20:10

Bo Persson