msbuildcsproj

Reference for expression syntax in CSPROJ files


Can somebody please point me to a reference for the syntax of the expression language used in csproj / vbproj files within Visual Studio ? I've been seeing usages like the following :

 <FilesForPackagingFromProject Include="%(CustomFiles.Identity)">

... and I'm trying to understand the '.Identity' bit.


Solution

  • The Identity bit is one of many MSBuild well-known item metadata.

    It is essentially metadata of MSBuild Items.

    You can use the metadata to Transform Item Types.