.CSPROJ 파일 확장자

Visual Studio C# Project

개발사 Microsoft
인기도
3.8  |  38 투표
 

CSPROJ 파일이란 무엇인가요?

A CSPROJ file is a C# (C Sharp) programming project file created by Microsoft Visual Studio. It contains XML-formatted text that lists a project's included files and compilation options. Developers compile CSPROJ files using MSBuild (the Microsoft Build Engine).

추가 정보

Microsoft Visual Studio Code에서 열린 .csproj 파일의 스크린샷
Microsoft Visual Studio Code에서 열린 CSPROJ 파일

When developers create a new program in Microsoft Visual Studio, they start by creating a new project and associated project file. The project file contains information that MSBuild uses to compile the developer's project into an executable program. Specific types of Visual Studio projects use specific types of Visual Studio project files; C# projects use CSPROJ files.

CSPROJ files define a project's content, platform requirements, versioning information, and web server or database server settings. They also list the files that are part of the project. All this information is defined using MSBuild's XML schema, which use the following elements (among others):

  • <Project>: Used to identify the project file's XML schema and specify entry points for the build process.
  • <PropertyGroup>: Used to define build configuration properties.
  • <ItemGroup>: Used to add inputs, such as source code files, into the build system.
  • <Target>: Used to specify and execute build operations.

How do I use a CSPROJ file to build an application?

To build a C# application developed in Visual Studio, a developer invokes MSBuild.exe from the Windows command-line interface along with the name of their CSPROJ file. For example, to build a project named MyProject.csproj, a developer would enter the command MSBuild.exe MyProject.csproj in the command prompt, along with any other appropriate command-line options.

CSPROJ 파일을 여는 방법

CSPROJ files are are meant to be opened and edited in Microsoft Visual Studio (Windows, Mac) as part of Visual Studio projects. However, because CSPROJ files are XML files, you can open and edit them in any text or source code editor.

File Viewer Plus(으)로 400개 이상의 파일 형식을 여세요.무료 다운로드

CSPROJ 파일을 열거나 참조하는 프로그램

Windows
Mac
Linux
무료 체험판
카테고리: 개발자
업데이트: 2021-05-03

검증자 FileInfo.com

FileInfo.com 팀 이 페이지에 나열된 Visual Studio C# Project 파일 형식과 Mac, Windows, and Linux 앱을 독자적으로 조사했습니다. 저희의 목표는 100% 정확성이며, 검증한 파일 유형에 대한 정보만 게시합니다.

이 페이지에 추가하거나 업데이트할 내용을 제안하고 싶으시면 알려 주세요.