Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.82 KB

add-and-remove-project-items.md

File metadata and controls

38 lines (24 loc) · 1.82 KB
title description author ms.author ms.date ms.assetid
Adding and Removing Project Items
This document describes how to add and remove project items in Visual Studio for Mac
heiligerdankgesang
dominicn
05/06/2018
4071689D-1C21-42D7-8963-550E7BCB4B67

Adding and Removing Project Items

You can add new project items to your project by right-clicking on the Project node in the Solution Pad and browsing to Add > New File:

Add New Project Item

This displays the New File Dialog, which provides file templates based on the type of application that you are creating in addition to the default templates, such as Empty Classes or Empty Enumerations. For example, if you are writing an iOS application, you can select Storyboard to create a new empty Storyboard file:

Add new empty storyboard in iOS

Adding existing files

You can add existing files to your project by right-clicking on the Project node and selecting Add > Add Files.... Alternatively, to add an entire folder, select Add > Add Existing Folder.... This displays the file browser, which lets you search your system for the required item to add.

Removing items

To remove an item from your current project, right-click the item and select Remove

Remove Item

This displays the delete item dialog. Select one of the options to remove it from the project:

Delete item dialog

  • Delete - Removes item from project and from disk.
  • Remove from Project - Removes item from project, but will not remove it from disk

See also