i got a deprecated plugin from engine version 4.15 and i got these errors
f:\UE_4.24_Projects\TapsellSDK_UnrealEngine_Sample-master\Plugins\TapsellAds\Source\Tapsell\Tapsell.Build.cs(24,75) : error CS0122: ‘UnrealBuildTool.BuildConfiguration’ is inaccessible due to its protection level
f:\UE_4.24_Projects\TapsellSDK_UnrealEngine_Sample-master\Plugins\TapsellAds\Source\Tapsell\Tapsell.Build.cs(25,13) : warning CS0618: ‘UnrealBuildTool.ModuleRules.ReceiptPropertyList.Add(UnrealBuildTool.ReceiptProperty)’ is obsolete: ‘Constructing a ReceiptProperty object is deprecated. Call ReceiptProperties.Add() with the path to the file to stage.’
ERROR: Unable to compile source files.
using UnrealBuildTool;
using System.IO;
public class Tapsell : ModuleRules
{
public Tapsell(ReadOnlyTargetRules Target) : base(Target)
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
PrivateIncludePaths.AddRange(new string[] {"Tapsell/Private"});
PrivateDependencyModuleNames.AddRange(new string[]{"Core","CoreUObject","Engine"});
if (Target.Platform == UnrealTargetPlatform.Android)
{
PrivateDependencyModuleNames.AddRange( new string[]{"Launch"});
string PluginPath = Utils.MakePathRelativeTo(ModuleDirectory, BuildConfiguration.RelativeEnginePath);
AdditionalPropertiesForReceipt.Add(new ReceiptProperty("AndroidPlugin", Path.Combine(PluginPath, "Tapsell_APL.xml")));
}
}
}