We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Writing and Changing Application Code

Visual Studio 2010

You and your team spend most of a development cycle performing various iterative development tasks. Each of these tasks might include the following:

  • Understand the task.

  • Synchronize your development environment.

  • Check out files, and make necessary changes to the code.

  • Refactor the code and data.

  • Build and deploy the project in your isolated development environment.

  • Test your changes, which might include generating test data.

In the following table, you can find descriptions of common tasks that support this scenario and links to more information about how you can successfully complete those tasks.


Supporting Content

Identify and understand the task: In a team environment, your work often corresponds to a work item in Visual Studio Team Foundation Server. After you find and understand the work item, you might have to learn about the code that you will be changing.

Synchronize your development environment: Before you begin a task, you might have to retrieve the current version of the project from version control. If changes were made to the production or staging server that are not reflected in the project, you might need to update the project before you begin your development task.

Modify the code for the project: To complete the development task, you must typically modify code in one or more projects. Use the editor or designer that is appropriate for the type of code that you are modifying.

Refactor the code: You can use refactoring to eliminate some repetitive and error-prone tasks, such as renaming all references to an object or removing parameters.

Visual C#

Visual Basic

Build and deploy changes to your isolated development environment: After you modify the project, you build and deploy the changes to your isolated development environment. You can test your changes in isolation before you share them with other team members.