Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Deployment.Parts Property

Gets a collection of assembly parts that are included in the deployment.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
public AssemblyPartCollection Parts { get; }
<Deployment xmlns="http://schemas.microsoft.com/client/2007/deployment" ...>
  <Deployment.Parts>
    zeroOrMoreAssemblyParts
  </Deployment.Parts>
</Deployment>

XAML Values

zeroOrMoreAssemblyParts

One or more AssemblyPart object elements. Each such AssemblyPart is expected to have a unique Source value, and one of the AssemblyPart items should specify the EntryPointAssembly. This is documented as "zero or more" because often by default the build will generate an empty "Deployment.Parts" property element in the manifest, which is valid.

Property Value

Type: System.Windows.AssemblyPartCollection
The collection of assembly parts. The default is an empty collection.

Dependency property identifier field: PartsProperty

For more information, see Application Structure.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.