Sebastiaan
07/29/2022, 7:11 AM.targets
file and I don't think I need ANY of it any more do I?
I'm not concerned with people seeing a duplicate Hangfire tab in their backoffice after they upgrade to the new version, I'll happily explain they need to manually remove the files from App_Plugins.. Any reason to keep any of this?
//cc: @Matt Wise @Jason
xml
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CultivHangfireContentFilesPath>$(MSBuildThisFileDirectory)..\App_Plugins\Cultiv.Hangfire\**\*.*</CultivHangfireContentFilesPath>
</PropertyGroup>
<Target Name="ClearCultivHangfireAssets" BeforeTargets="Clean">
<ItemGroup>
<CultivHangfireDir Include="$(MSBuildProjectDirectory)\App_Plugins\Cultiv.Hangfire\" />
</ItemGroup>
<Message Text="Clear old Cultiv.Hangfire data" Importance="high" />
<RemoveDir Directories="@(CultivHangfireDir)" />
</Target>
</Project>
Sebastiaan
07/29/2022, 7:11 AMMatt Wise
07/29/2022, 7:27 AMSebastiaan
07/29/2022, 7:31 AM