.PROJ 文件扩展名

Visual Studio Project File

开发者 Microsoft
受欢迎程度
3.0  |  3 
 

什么是 PROJ 文件?

A PROJ file is a project file created in Microsoft Visual Studio, a software development tool used to create Windows programs and web applications. It contains XML-formatted text that defines a project's content, platform requirements, versioning information, and web server or database server settings. MSBuild (the Microsoft Build Engine) uses PROJ files to build developers' projects, transforming the projects into executable programs.

更多信息

在 GitHub Atom 中打开的 .proj 文件截图
在 GitHub Atom 中打开的 PROJ 文件

When a developer creates an application in Visual Studio, they start by creating a new project and associated project file. The project file contains all the information MSBuild needs to build the developer's project. While specific types of applications typically use specific types of Visual Studio project files (for example, C# applications typically use .CSPROJ project files), some user-created project files may use the generic .proj extension.

PROJ files are XML files that contain elements defined by the MSBuild XML schema. These elements tell MSBuild what items to build and how to build them. For example, the PROJ file may contain settings that tell MSBuild to build an application differently when targeting different operating systems. Some of the elements PROJ files contain include:

  • <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 PROJ file to build a Visual Studio project?

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

如何打开 PROJ 文件

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

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开或引用 PROJ 文件的程序

分类: 开发者
更新时间: 2021-04-16

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 Visual Studio Project 文件格式和 Mac and Windows 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们