Skip to content

Commit ca64303

Browse files
committed
Merged main into live
2 parents 578b12f + 1b12bcc commit ca64303

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2882
-1
lines changed

docs/msbuild/errors/msb1001.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: "MSB1001 diagnostic code"
3+
description: "Unknown switch."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1001
8+
- MSBuild.UnknownSwitchError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1001 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1001 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1001: Unknown switch.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1001: "}UE: This occurs when the user passes in an unrecognized switch on the MSBuild.exe command-line.
36+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
37+
-->
38+
<!-- :::editable-content-end::: -->
39+
<!-- :::ErrorDefinitionDescription-end::: -->
40+
41+
## Applies to
42+
43+
All versions of MSBuild

docs/msbuild/errors/msb1002.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "MSB1002 diagnostic code"
3+
description: "This switch does not take any parameters."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1002
8+
- MSBuild.UnexpectedParametersError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1002 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1002 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1002: This switch does not take any parameters.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1002: "}UE: For example, if somebody types "msbuild.exe -noLogo:1", they would get this error because the -noLogo switch
36+
should not be followed by any parameters ... it stands alone.
37+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
38+
-->
39+
<!-- :::editable-content-end::: -->
40+
<!-- :::ErrorDefinitionDescription-end::: -->
41+
42+
## Applies to
43+
44+
All versions of MSBuild

docs/msbuild/errors/msb1003.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "MSB1003 diagnostic code"
3+
description: "Specify a project or solution file. The current working directory does not contain a project or solution file."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1003
8+
- MSBuild.MissingProjectError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1003 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1003 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1003: "}UE: The user must either specify a project or solution file to build, or there must be a project file in the current directory
36+
with a file extension ending in "proj" (e.g., foo.csproj), or a solution file ending in "sln".
37+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
38+
-->
39+
<!-- :::editable-content-end::: -->
40+
<!-- :::ErrorDefinitionDescription-end::: -->
41+
42+
## Applies to
43+
44+
All versions of MSBuild

docs/msbuild/errors/msb1004.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "MSB1004 diagnostic code"
3+
description: "Specify the name of the target."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1004
8+
- MSBuild.MissingTargetError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1004 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1004 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1004: Specify the name of the target.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1004: "}UE: This happens if the user does something like "msbuild.exe -target". The user must pass in an actual target name
36+
following the switch, as in "msbuild.exe -target:blah".
37+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
38+
-->
39+
<!-- :::editable-content-end::: -->
40+
<!-- :::ErrorDefinitionDescription-end::: -->
41+
42+
## Applies to
43+
44+
All versions of MSBuild

docs/msbuild/errors/msb1005.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "MSB1005 diagnostic code"
3+
description: "Specify a property and its value."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1005
8+
- MSBuild.MissingPropertyError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1005 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1005 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1005: Specify a property and its value.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1005: "}UE: This happens if the user does something like "msbuild.exe -property". The user must pass in an actual property
36+
name and value following the switch, as in "msbuild.exe -property:Configuration=Debug".
37+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
38+
-->
39+
<!-- :::editable-content-end::: -->
40+
<!-- :::ErrorDefinitionDescription-end::: -->
41+
42+
## Applies to
43+
44+
All versions of MSBuild

docs/msbuild/errors/msb1006.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
title: "MSB1006 diagnostic code"
3+
description: "Property is not valid."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1006
8+
- MSBuild.InvalidPropertyError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1006 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1006 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1006: Property is not valid.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1006: "}UE: This message does not need in-line parameters because the exception takes care of displaying the invalid arg.
36+
This error is shown if the user does any of the following:
37+
msbuild.exe -property:foo (missing property value)
38+
msbuild.exe -property:=4 (missing property name)
39+
The user must pass in an actual property name and value following the switch, as in "msbuild.exe -property:Configuration=Debug".
40+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
41+
-->
42+
<!-- :::editable-content-end::: -->
43+
<!-- :::ErrorDefinitionDescription-end::: -->
44+
45+
## Applies to
46+
47+
All versions of MSBuild

docs/msbuild/errors/msb1007.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: "MSB1007 diagnostic code"
3+
description: "Specify a logger."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1007
8+
- MSBuild.MissingLoggerError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1007 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1007 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1007: Specify a logger.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1007: "}UE: This happens if the user does something like "msbuild.exe -logger". The user must pass in an actual logger class
36+
following the switch, as in "msbuild.exe -logger:XMLLogger,MyLogger,Version=1.0.2,Culture=neutral".
37+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
38+
-->
39+
<!-- :::editable-content-end::: -->
40+
<!-- :::ErrorDefinitionDescription-end::: -->
41+
42+
## Applies to
43+
44+
All versions of MSBuild

docs/msbuild/errors/msb1008.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
title: "MSB1008 diagnostic code"
3+
description: "Only one project can be specified."
4+
ms.date: 01/14/2025
5+
ms.topic: "error-reference"
6+
f1_keywords:
7+
- MSB1008
8+
- MSBuild.DuplicateProjectSwitchError
9+
dev_langs:
10+
- "VB"
11+
- "CSharp"
12+
- "C++"
13+
- "FSharp"
14+
author: ghogen
15+
ms.author: ghogen
16+
manager: mijacobs
17+
ms.subservice: msbuild
18+
---
19+
20+
# MSB1008 diagnostic code
21+
22+
<!-- :::ErrorDefinitionDescription::: -->
23+
<!-- :::editable-content name="introDescription"::: -->
24+
This article describes the MSB1008 error code.
25+
<!-- :::editable-content-end::: -->
26+
27+
## Message text
28+
29+
```output
30+
MSB1008: Only one project can be specified.
31+
```
32+
33+
<!-- :::editable-content name="postOutputDescription"::: -->
34+
<!--
35+
{StrBegin="MSBUILD : error MSB1008: "}UE: This happens if the user does something like "msbuild.exe myapp.proj myapp2.proj". This is not allowed.
36+
MSBuild.exe will only build a single project. The help topic may link to an article about how to author an MSBuild project
37+
that itself launches MSBuild on a number of other projects.
38+
LOCALIZATION: The prefix "MSBUILD : error MSBxxxx:" should not be localized.
39+
-->
40+
<!-- :::editable-content-end::: -->
41+
<!-- :::ErrorDefinitionDescription-end::: -->
42+
43+
## Applies to
44+
45+
All versions of MSBuild

0 commit comments

Comments
 (0)