logo
CSharp_Prog_Guide

Настройка интегрированной среды разработки

Все окна в Visual C# можно закрепить или сделать плавающими, скрыть или отобразить, или переместить в другое местоположение. Чтобы изменить поведение окна, щелкните значок стрелки или кнопки в строке заголовка и выберите доступные варианты. Чтобы переместить закрепленное окно в другое местоположение, перетащите строку заголовка таким образом, чтобы появился значок пипетки. Удерживая левую кнопку мыши, переместите указатель над значком в новое местоположение. Для прикрепления окна к определенной стороне поместите указатель на левый, правый, верхний или нижний значки. Поместите указатель на значок в середине, чтобы в окне размещались вкладки. По мере изменения положения указателя будет появляться полупрозрачный прямоугольник, обозначающий место закрепления окна в новом местоположении.

Для настройки других параметров интегрированной среды разработки следует выбрать команду Параметры в меню Сервис.

Creating a Project

When you are ready to begin coding, the first step is to set up a project. The project contains all the raw materials for your application, such as the source code files, resource files such as icons, references to external files that your program depends on, and configuration data such as compiler settings. When you build a project, Visual C# invokes the C# compiler and other internal tools to create an executable assembly by using the files in your project.

Creating a New Project

You create a new project by clicking the File menu, pointing to New, and then clicking Project.

Note:

If you select Web Site instead of Project, the Visual Web Developer integrated development environment (IDE) opens. This is a separate and distinct environment within Visual Studio for creating ASP.NET Web applications. The Visual Web Developer IDE does use the Visual C# code editor for editing code-behind files in C#.

The following illustration shows the New Project dialog box. By default, Visual C# is selected in the window on the left, and on the right, there are project templates to select from. If you expand and click a node on the left, you can see different project types appear on the right side. The list of project templates depends in part on the version of Visual Studio that you have. 

You can select the version of the .NET Framework for your project in the New Project dialog box. The version of the .NET Framework that you select in the New Project dialog box is the version that is required on a computer to enable it to run the application.