Skip to content

Commit 2f90f41

Browse files
authored
Merge pull request #3897 from GitHubber17/from-public-2372
[PUBLIC_MOVE] commits from public #2372
2 parents 316ff81 + bacaffb commit 2f90f41

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

docs/msbuild/makedir-task.md

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@
22
title: "MakeDir Task | Microsoft Docs"
33
ms.date: "11/04/2016"
44
ms.topic: "reference"
5-
f1_keywords:
5+
f1_keywords:
66
- "http://schemas.microsoft.com/developer/msbuild/2003#MakeDir"
7-
dev_langs:
7+
dev_langs:
88
- "VB"
99
- "CSharp"
1010
- "C++"
1111
- "jsharp"
12-
helpviewer_keywords:
12+
helpviewer_keywords:
1313
- "MakeDir task [MSBuild]"
1414
- "MSBuild, MakeDir task"
1515
ms.assetid: bc951577-1bfb-4100-b1f1-bc8278c45bf7
1616
author: mikejo5000
1717
ms.author: mikejo
1818
manager: jillfra
19-
ms.workload:
19+
ms.workload:
2020
- "multiple"
2121
---
2222
# MakeDir task
23-
Creates directories and, if necessary, any parent directories.
24-
25-
## Parameters
26-
The following table describes the parameters of the `MakeDir` task.
27-
28-
|Parameter|Description|
29-
|---------------|-----------------|
30-
|`Directories`|Required <xref:Microsoft.Build.Framework.ITaskItem>`[]` parameter.<br /><br /> The set of directories to create.|
31-
|`DirectoriesCreated`|Optional <xref:Microsoft.Build.Framework.ITaskItem>`[]` output parameter.<br /><br /> The directories that are created by this task. If some directories could not be created, this may not contain all of the items that were passed into the `Directories` parameter.|
32-
33-
## Remarks
34-
In addition to the parameters listed above, this task inherits parameters from the <xref:Microsoft.Build.Tasks.TaskExtension> class, which itself inherits from the <xref:Microsoft.Build.Utilities.Task> class. For a list of these additional parameters and their descriptions, see [TaskExtension base class](../msbuild/taskextension-base-class.md).
35-
36-
## Example
37-
The following code example uses the `MakeDir` task to create the directory specified by the `OutputDirectory` property.
38-
39-
```xml
40-
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
41-
42-
<PropertyGroup>
43-
<OutputDirectory>\Output\</OutputDirectory>
44-
</PropertyGroup>
45-
46-
<Target Name="CreateDirectories">
47-
<MakeDir
48-
Directories="$(OutputDirectory)"/>
49-
</Target>
50-
51-
</Project>
52-
```
53-
54-
## See also
55-
[Tasks](../msbuild/msbuild-tasks.md)
56-
[Task reference](../msbuild/msbuild-task-reference.md)
23+
Creates directories and, if necessary, any parent directories.
24+
25+
## Parameters
26+
The following table describes the parameters of the `MakeDir` task.
27+
28+
|Parameter|Description|
29+
|---------------|-----------------|
30+
|`Directories`|Required <xref:Microsoft.Build.Framework.ITaskItem>`[]` parameter.<br /><br /> The set of directories to create.|
31+
|`DirectoriesCreated`|Optional <xref:Microsoft.Build.Framework.ITaskItem>`[]` output parameter.<br /><br /> The directories that are created by this task. If some directories could not be created, this may not contain all of the items that were passed into the `Directories` parameter.|
32+
33+
## Remarks
34+
In addition to the parameters listed above, this task inherits parameters from the <xref:Microsoft.Build.Tasks.TaskExtension> class, which itself inherits from the <xref:Microsoft.Build.Utilities.Task> class. For a list of these additional parameters and their descriptions, see [TaskExtension base class](../msbuild/taskextension-base-class.md).
35+
36+
## Example
37+
The following code example uses the `MakeDir` task to create the directory specified by the `OutputDirectory` property.
38+
39+
```xml
40+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
41+
42+
<PropertyGroup>
43+
<OutputDirectory>\Output\</OutputDirectory>
44+
</PropertyGroup>
45+
46+
<Target Name="CreateDirectories">
47+
<MakeDir
48+
Directories="$(OutputDirectory)"/>
49+
</Target>
50+
51+
</Project>
52+
```
53+
54+
## See also
55+
[Tasks](../msbuild/msbuild-tasks.md)
56+
[Task reference](../msbuild/msbuild-task-reference.md)

0 commit comments

Comments
 (0)