# How to package a C++ based project for marketplace

**URL:** <https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, marketplace, UE4, CPP, Blueprint, question\
**Created:** [January 16, 2020, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643 "2020-01-16T16:07:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Reetro\_69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reetro\_69](https://forums.unrealengine.com/u/Reetro_69)\
**Post date:** [January 16, 2020, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643/1 "2020-01-16T16:07:28Z")

</div>

So for the past few weeks I’ve been working on a simple easy to use dialogue system. I made a custom C++ Character and based all my blueprints off that C++ class. So how do I package this? Do I have make a code plugin that calls my character code some how? Or do I just zip up the project with the source file’s and post in the code plugin section?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 16, 2020, 5:00pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643/2 "2020-01-16T17:00:57Z")

</div>

You can add content to code plugins as well. You just have to create a content folder for your plugin, you can choose to create one when setting up your plugin in the setup wizard, or you can add the content folder manually to the plugin’s directory and add `	"CanContainContent": true,` to the plugin’s .uplugin file.

You can now migrate any blueprints or assets from your project into the plugin.

For c++ classes you can move them into your plugin’s source folder. You will probably need to do a bit of refactoring to get things hooked up correctly.

> **[Migrating Assets](https://docs.unrealengine.com/5.1/en-US/migrating-assets-in-unreal-engine/)**
>
> How to copy Assets from one project to another.

The wiki also has a few tips on migrating c++:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![Reetro\_69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reetro\_69](https://forums.unrealengine.com/u/Reetro_69)\
**Post date:** [January 16, 2020, 5:17pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643/3 "2020-01-16T17:17:18Z")

</div>

Hey thanks for the reply another quick mini question am assuming I gotta to package the plugin only when I try to I get this error

D:/Programing Projects/GitHub/Simple Dialogue System/Build/SimpleDialogueSystem/HostProject/Plugins/SimpleDialogueSystem/Source/SimpleDialogueSystem/Public/Super\_NPC.h(52) : LogCompile: Error: An explicit Category specifier is required for any property

What specifier do I need?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b58cf9e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Post date:** [January 16, 2020, 5:30pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643/4 "2020-01-16T17:30:17Z")

</div>

Not 100% sure but you may need something like `UPROPERTY(Category="SomeCategory")` for your class’ properties.

---

<div class="post-metadata">

**Author:** ![Reetro\_69](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Reetro\_69](https://forums.unrealengine.com/u/Reetro_69)\
**Post date:** [January 16, 2020, 9:36pm UTC](https://forums.unrealengine.com/t/how-to-package-a-c-based-project-for-marketplace/460643/5 "2020-01-16T21:36:51Z")

</div>

Ya that was the issue added category fixed that error
