Skip to content
Docs Try Aspire

IContainerFilesDestinationResource

Interface net10.0
📦 Aspire.Hosting v13.1.2
Represents a resource that can consume and copy files from resources that implement IResourceWithContainerFiles.
namespace Aspire.Hosting.ApplicationModel;
public interface IContainerFilesDestinationResource
: Aspire.Hosting.ApplicationModel.IResource
{
// ...
}
Resources that implement this interface can use the PublishWithContainerFiles extension method to copy files from other container resources during the build/publish process. This is typically used to include static assets, build artifacts, or other files from one resource into another resource's container image during publishing.