Packing Project fails when enabling datasmith

Hi

I am creating a project for my workplace to do simple displays of layouts with part information using datasmith. I am using Datasmith for Rhino 7 and Unreal Engine 4.27.2

When I try to package a project with datasmith enabled it fails with this error:

UATHelper: Packaging (Windows (64-bit)): Setting up ProjectParams for C:\Users\User\Documents\Unreal Projects\testbuild\testbuild.uproject
UATHelper: Packaging (Windows (64-bit)): testbuild.uproject requires a temporary target.cs to be generated (DatasmithImporter plugin is enabled)
UATHelper: Packaging (Windows (64-bit)): ERROR: C:\Users\User\Documents\Unreal Projects\testbuild\testbuild.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows (64-bit)): (see C:\Users\User\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_4.27\Log.txt for full exception trace)
PackagingResults: Error: C:\Users\User\Documents\Unreal Projects\testbuild\testbuild.uproject does not look like uproject file but no targets have been found!
UATHelper: Packaging (Windows (64-bit)): AutomationTool exiting with ExitCode=1 (Error_Unknown)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error

The same project packaged fine until I enabled datasmith, now it fails every time I attempt to package it. If I disable the pplugin it works again but then I am unable to access the object metadata.