Skip to content

Commit 77924d1

Browse files
authored
Update property name (#30278)
1 parent 5f8873b commit 77924d1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/core/project-sdk/msbuild-props.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ To speed up the build time, builds that are implicitly triggered by Visual Studi
542542

543543
The following MSBuild properties are documented in this section:
544544

545-
- [DefaultExcludesInProjectFolder](#defaultexcludesinprojectfolder)
545+
- [DefaultItemExcludesInProjectFolder](#defaultitemexcludesinprojectfolder)
546546
- [DefaultItemExcludes](#defaultitemexcludes)
547547
- [EnableDefaultCompileItems](#enabledefaultcompileitems)
548548
- [EnableDefaultEmbeddedResourceItems](#enabledefaultembeddedresourceitems)
@@ -561,15 +561,15 @@ Use the `DefaultItemExcludes` property to define glob patterns for files and fol
561561
</PropertyGroup>
562562
```
563563

564-
### DefaultExcludesInProjectFolder
564+
### DefaultItemExcludesInProjectFolder
565565

566-
Use the `DefaultExcludesInProjectFolder` property to define glob patterns for files and folders in the project folder that should be excluded from the include, exclude, and remove globs. By default, folders that start with a period (`.`), such as *.git* and *.vs*, are excluded from the glob patterns.
566+
Use the `DefaultItemExcludesInProjectFolder` property to define glob patterns for files and folders in the project folder that should be excluded from the include, exclude, and remove globs. By default, folders that start with a period (`.`), such as *.git* and *.vs*, are excluded from the glob patterns.
567567

568-
This property is very similar to the `DefaultItemExcludes` property, except that it only considers files and folders in the project folder. When a glob pattern would unintentionally match items outside the project folder with a relative path, use the `DefaultExcludesInProjectFolder` property instead of the `DefaultItemExcludes` property.
568+
This property is very similar to the `DefaultItemExcludes` property, except that it only considers files and folders in the project folder. When a glob pattern would unintentionally match items outside the project folder with a relative path, use the `DefaultItemExcludesInProjectFolder` property instead of the `DefaultItemExcludes` property.
569569

570570
```xml
571571
<PropertyGroup>
572-
<DefaultExcludesInProjectFolder>$(DefaultExcludesInProjectFolder);**/myprefix*/**</DefaultExcludesInProjectFolder>
572+
<DefaultItemExcludesInProjectFolder>$(DefaultItemExcludesInProjectFolder);**/myprefix*/**</DefaultItemExcludesInProjectFolder>
573573
</PropertyGroup>
574574
```
575575

0 commit comments

Comments
 (0)