# How to detect whether a cook/pack is targeting Shipping or Development?

**URL:** <https://forums.unrealengine.com/t/how-to-detect-whether-a-cook-pack-is-targeting-shipping-or-development/2695674>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP, question\
**Created:** [January 29, 2026, 6:02am UTC](https://forums.unrealengine.com/t/how-to-detect-whether-a-cook-pack-is-targeting-shipping-or-development/2695674 "2026-01-29T06:02:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ANAKH](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ANAKH](https://forums.unrealengine.com/u/ANAKH)\
**Post date:** [January 29, 2026, 6:02am UTC](https://forums.unrealengine.com/t/how-to-detect-whether-a-cook-pack-is-targeting-shipping-or-development/2695674/1 "2026-01-29T06:02:41Z")

</div>

I have some resource files that are only needed cook for Development builds, and I want to exclude them from Shipping.

1. Is there a recommended/official way to determine the target configuration (Shipping/Development) during cook/pack?
2. Is there a recommended/official to exclude assets

assets are standalone content assets or OFPA Actors
