You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="PostBuild" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  3. <PropertyGroup>
  4. <OPath></OPath>
  5. <SolDir></SolDir>
  6. </PropertyGroup>
  7. <UsingTask TaskName="AssemblyRename" AssemblyFile="$(SolDir)BuildTools\AssemblyRenameStep\bin\$(Configuration)\AssemblyRenameStep.dll" />
  8. <Target Name="PostBuild">
  9. <Message Text="Relocating" Importance="normal" />
  10. <ItemGroup>
  11. <SystemFiles Include="$(OPath)IPA.Injector.*" />
  12. <SystemFiles Include="$(OPath)IPA.Loader.*" />
  13. <SystemFiles Include="$(OPath)AsyncBridge.*" />
  14. <SystemFiles Include="$(OPath)System.*" />
  15. <SystemFiles Include="$(OPath)Portable.System.*" />
  16. <SystemFiles Include="$(OPath)Net3-Proxy.*" />
  17. <SystemFiles Include="$(OPath)Libraries\Mono\**\*" />
  18. <OldLibFiles Include="$(OPath)Libs\**\*" />
  19. </ItemGroup>
  20. <Move SourceFiles="@(SystemFiles)" DestinationFolder="$(OPath)Data\Managed" />
  21. <RemoveDir Directories="$(OPath)Libraries\Mono" />
  22. <Delete Files="@(OldLibFiles)" />
  23. <RemoveDir Directories="$(OPath)Libs" />
  24. <ItemGroup>
  25. <LibFiles Include="$(OPath)**\*" Exclude="$(OPath)Data\**\*;$(OPath)Libs\**\*" />
  26. </ItemGroup>
  27. <Move SourceFiles="@(LibFiles)" DestinationFolder="$(OPath)Libs\" />
  28. <RemoveDir Directories="$(OPath)Libraries\Included" />
  29. <RemoveDir Directories="$(OPath)Libraries" />
  30. <ItemGroup>
  31. <ToRename Include="$(OPath)Libs\**\*.dll" />
  32. </ItemGroup>
  33. <AssemblyRename Assemblies="@(ToRename)" />
  34. </Target>
  35. </Project>