ControlRig Plugin Link Error

Hi

I enabled the ControlRig Plugin and it works fine with Blueprints.

But when I try to create an UControlRig Class I get this error:
error LNK2019: unresolved external symbol “__declspec(dllimport) public: __cdecl UControlRig::UControlRig(void)”

My .Build.cs file looks like that:

// Copyright Epic Games, Inc. All Rights Reserved.

using UnrealBuildTool;

public class RigProject : ModuleRules
{
	public RigProject(ReadOnlyTargetRules Target) : base(Target)
	{
		PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
	
		PublicDependencyModuleNames.AddRange(new string[] { "ControlRig", "Core", "CoreUObject", "Engine", "InputCore" });

		PrivateDependencyModuleNames.AddRange(new string[] { });


		// Uncomment if you are using Slate UI
		// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
		
		// Uncomment if you are using online features
		// PrivateDependencyModuleNames.Add("OnlineSubsystem");

		// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true
	}
}

I also tried to .Add the “ControlRig” String into the PrivateDependencyModuleNames but it is not working.

?? What I find really strange is that I am able to create an UControlRigComponent Class and an UAdditiveControlRig??

Has Someone an idea what I am doing wrong?