# ContainerFilesDestinationAnnotation

- Kind: `class`
- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Version: `13.3.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net8.0`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ContainerFilesDestinationAnnotation.cs)
- Implements: [IResourceAnnotation](/reference/api/csharp/aspire.hosting/iresourceannotation.md)

Represents an annotation that specifies a source resource and destination path for copying container files.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class ContainerFilesDestinationAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Remarks

This annotation is typically used in scenarios where assets, such as images or static files, need to be copied from one container image to another during the build process. This annotation is applied to the destination resource where the source container's files will be copied to.

## Constructors

- [ContainerFilesDestinationAnnotation](/reference/api/csharp/aspire.hosting/containerfilesdestinationannotation/constructors.md#constructor)

## Properties

- [DestinationPath](/reference/api/csharp/aspire.hosting/containerfilesdestinationannotation/properties.md#destinationpath) : `string` `get; init` -- Gets or sets the file system path where the container files will be copied into the destination.
- [Source](/reference/api/csharp/aspire.hosting/containerfilesdestinationannotation/properties.md#source) : [IResource](/reference/api/csharp/aspire.hosting/iresource.md) `get; init` -- Gets the resource that provides access to the container files to be copied.
