Following up on yesterday's UmbraCollab (https://y...
# package-development
s
Following up on yesterday's UmbraCollab (

https://youtu.be/66W8nlLHWpQ?t=547

) - I am left with this in my
.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
Copy code
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>
In fact, can I just delete the targets file if it's just going to be empty otherwise? Think so 🤔
m
Yep, if your happy to tell people to delete the old folder you dont need anything related to targets
s
Excellent. Less is more!