Fix Task implementation

This commit is contained in:
LotP1 2024-12-17 18:56:01 +01:00
parent efa1a26dbd
commit 29e1a5efa4
3 changed files with 12 additions and 5 deletions

View file

@ -9,4 +9,11 @@
<PackageReference Include="Newtonsoft.Json" />
</ItemGroup>
<UsingTask TaskName="Ryujinx.BuildValidationTasks.LocaleValidationTask" AssemblyFile="$(ProjectDir)bin\$(Configuration)\netstandard2.0\Ryujinx.BuildValidationTasks.dll"/>
<Target Name="LocalesJsonValidation" AfterTargets="AfterBuild">
<Message Text="TEST2" Importance="high"/>
<LocaleValidationTask />
</Target>
</Project>

View file

@ -13,10 +13,10 @@
<DefaultItemExcludes>$(DefaultItemExcludes);._*</DefaultItemExcludes>
</PropertyGroup>
<UsingTask TaskName="Ryujinx.BuildValidationTasks.LocaleValidationTask" AssemblyFile="..\Ryujinx.BuildValidationTasks\bin\debug\netstandard2.0\Ryujinx.BuildValidationTasks.dll" />
<Target Name="LocalesJsonValidation" BeforeTargets="BeforeBuild">
<LocaleValidationTask />
<Target Name="BuildValidationProj" BeforeTargets="BeforeBuild">
<MSBuild Projects="..\Ryujinx.BuildValidationTasks\Ryujinx.BuildValidationTasks.csproj" Targets="Build">
</MSBuild>
<Message Text="TEST" Importance="high"/>
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="$([MSBuild]::IsOSPlatform('OSX'))">