Windows
Compatible applications
Basic information about this file format
A practical overview of the .targets file format
An MSBuild Targets file, bearing the .targets extension, is an XML-based configuration file used by the Microsoft Build Engine (MSBuild), which is the build platform for Microsoft Visual Studio and the .NET ecosystem. These files contain build instructions, tasks, target definitions, and properties…
Start with a trusted app that supports this format
File extension details and usage information
An MSBuild Targets file, bearing the .targets extension, is an XML-based configuration file used by the Microsoft Build Engine (MSBuild), which is the build platform for Microsoft Visual Studio and the .NET ecosystem. These files contain build instructions, tasks, target definitions, and properties that dictate how a software project should be compiled, packaged, and deployed. By using .targets files, developers can modularize and reuse build logic across multiple projects. Instead of duplicating complex build steps in every individual project file (such as .csproj or .vbproj), common build processes are defined once in a .targets file and imported where needed. Because they are structured in standard XML, they can be opened and edited with any text editor, though IDEs like Visual Studio provide advanced schema validation, syntax highlighting, and autocomplete.
Programs that may open or work with .targets files
Compatible applications
Compatible applications
Compatible applications
Mobile applications
Options for saving or exporting this file to another format
In many cases, a .targets file can be converted by opening it in compatible software and using an option such as Save As, Export, or Convert. The available output formats depend on the file type and the application used.
Common reasons this file type may not open correctly
The file may require a specific program that supports the .targets format.
The file extension may have been renamed manually, even though the actual file format is different.
The file may be incomplete, damaged during download, or transferred incorrectly.
Your software may need to be updated before it can open newer versions of this file format.
Common questions about .targets files
To open a .targets file, use software that supports this file format.
Open the file in compatible software and look for options such as Save As, Export, or Convert. If no export option is available, the file may require a specialized converter or the original application that created it.
A file extension alone does not guarantee whether a file is safe or unsafe. Only open files from trusted sources, scan unknown files before opening them, and be especially careful with executable, script, archive, and document files.
Use caution with unknown files