Paper2D Dependency Issue

I can not understand the reasoning as to why my project will not package. I have consistently had an ‘error’ every time I have compiled my code, but that error should have been fixed! The error in question states that my plugin, does not list Paper2D as a dependency, but the module depends on Paper2D. I have added Paper2D to the .build.cs file of my plugin, which allows it to compile in the first place, right? So, what else am I missing? Help would be greatly appreciated, thanks!


DependencyIssue02_BuildFile

for other souls comming across this issue:

my solution was that I needed to add a dependency for the Paper2D plugin in the MyProject/Plugins/MyPlugin/MyPlugin.uplugin file like this:

{
	"FileVersion": 3,
	"Version": 1,
	"VersionName": "1.0",
	"FriendlyName": "MyPlugin",
	"Description": "",
	"Category": "Other",
	"CreatedBy": "",
	"CreatedByURL": "",
	"DocsURL": "",
	"MarketplaceURL": "",
	"SupportURL": "",
	"CanContainContent": true,
	"IsBetaVersion": false,
	"IsExperimentalVersion": false,
	"Installed": false,
	"Modules": [
		{
			"Name": "MyPlugin",
			"Type": "Runtime",
			"LoadingPhase": "Default"
		}
	],
	"Plugins": [
		{
			"Name": "Paper2D",
			"Enabled": true
		}
	]
}

and as already stated in YourProject/Plugins/MyPlugin/Source/MyPlugin/MyPlugin.Build.cs

PublicDependencyModuleNames.AddRange(
	new string[]
	{
		"Core",
		"CoreUObject",
		"Engine",
		"InputCore",
		"Paper2D" // <-- Ensure this is here
	}
);