<Target Name="PostBuild" AfterTargets="PostBuildEvent"> <ItemGroup> <DLLName Include="$(OutDir)$(MSBuildProjectName).dll" /> </ItemGroup> <Move SourceFiles="@(DLLName)" DestinationFiles="@(DLLName -> Replace('dll', 'dll2'))" /> <Exec Command="start ..\Velrdid.OpenXR.PostCompilerFixup\bin\Release\net6.0\Veldrid.OpenXR.PostCompileFixup.exe"/> <Delete Files="@(DLLName -> Replace('dll', 'dll2'))" /></Target>