Failed to produce item (Secondary modules)

I’ve got my game split into modules so it’s a bit more sane to split up for other games projects later. So inside my project’s source folder I’ve got other folders (InventorySystem, etc) next to the project’s folder. If I tell Visual studio to build the project is succeeds but gives error it failed to produce the dll for the secondary modules thus no update in the editor for code related to them. If I tell it to rebuild the entire codebase it has no problems…

Anyone know what’s up?

Well, some error message would have been greatly apprechiated (maybe the reason noone has answered yet), but here’s a wild guess:

You may need to add InventorySystem.cpp with IMPLEMENT_GAME_MODULE(FDefaultModuleImpl, InventorySystem);