AssignCulture.CultureNeutralAssignedFiles Property


This list has the same number of items as the Files list or the AssignedFiles list.

Items in this list have the file name from Files or AssignedFiles but with the culture stripped if it was embedded in the file name.

So for example, if the incoming item in Files was:

then the corresponding file in CultureNeutralAssignedFiles will be:


The culture will only be stripped if it is a valid culture identifier. So for example,


will result in exactly the same file name:


because 'XX' is not a valid culture identifier.

This API supports the product infrastructure and is not intended to be used directly from your code.

 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ CultureNeutralAssignedFiles { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); };
public Microsoft.Build.Framework.ITaskItem[] CultureNeutralAssignedFiles { get; }
public Microsoft.Build.Framework.ITaskItem[] CultureNeutralAssignedFiles { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.CultureNeutralAssignedFiles : Microsoft.Build.Framework.ITaskItem[]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.CultureNeutralAssignedFiles : Microsoft.Build.Framework.ITaskItem[]
Public ReadOnly Property CultureNeutralAssignedFiles As ITaskItem()

Property Value

A subset of AssignedFiles that do not have a Culture metadata entry.


Applies to