Changes the attributes of files and/or directories
Namespace: MSBuild.Community.Tasks
Assembly: MSBuild.Community.Tasks (in MSBuild.Community.Tasks.dll)
Syntax
Example
Make file Readonly, Hidden and System.
Copy Code
| |
|---|---|
<Attrib Files="Test\version.txt"
ReadOnly="true" Hidden="true" System="true"/>
| |
Clear Hidden and System attributes.
Copy Code
| |
|---|---|
<Attrib Files="Test\version.txt"
Hidden="false" System="false"/>
| |
Make file Normal.
Copy Code
| |
|---|---|
<Attrib Files="Test\version.txt"
Normal="true"/>
| |
Inheritance Hierarchy
Thread Safety
Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
See Also
Documentation version 1.0.0.0.