Fix Task implementation

This commit is contained in:
LotP1 2024-12-17 18:56:01 +01:00
parent 647cc943f6
commit 37b839fbc6
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

@ -21526,4 +21526,4 @@
}
}
]
}
}

View file

@ -14,10 +14,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'))">