UPDATE:. In retrospect, I updated the answer to include more conventions. The loan goes to Sayed Ibrahim Hashimi and others in this thread.
.proj
Popular agreement for general use. Commonly used by the main build script.
Examples:
build.proj main.proj company.product.build.proj
.targets
.targets files are those that are intended to be imported into other files using the Import element. Since these files are strictly processed, they actually build nothing. Usually they do not have the properties and values โโof the elements to actually create something.
Examples:
Microsoft.Common.targets Microsoft.CSharp.targets Microsoft.Data.Entity.targets
.**proj
The language convention, where **** represents the abbreviation of the language.
Known extensions:
.csproj | C# .vbproj | VB.NET .vcxproj | Visual C++ .dbproj | Database project .fsproj | F# .pyproj | IronPython .rbproj | IronRuby .wixproj | Windows Installer XML (WiX) .vdproj | Visual Studio Deployment Project .isproj | InstallShield .pssproj | PowerShell .modelproj | Modeling project
.props
The project properties page used by Visual C ++ projects ( .vcxproj ).
Examples:
Microsoft.Cl.Common.props Microsoft.Cpp.CoreWin.props Microsoft.Cpp.props Microsoft.Link.Common.props
.tasks
A generic include file that must be imported by the calling MSBuild project. Contains a list of <UsingTask> elements.
Examples:
Microsoft.Common.Tasks MSBuild.ExtensionPack.tasks
.settings.targets
(This is a related convention, if not strictly speaking, a file extension.)
A generic include file that must be imported by the calling MSBuild project. It contains "various properties related to the common utilities used during the build and deployment process, as well as any other general settings" ( Sayed Ibrahim Hashimi, 2009 ).
Examples:
EntityFramework.settings.targets
Compiler.settings.targets
Library.Settings.targets
KMoraz Jan 06 '10 at 10:27 2010-01-06 10:27
source share