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.

34 lines
1.3 KiB

  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)MSBuildTasks\bin\$(Configuration)\MSBuildTasks.dll" />
  8. <Target Name="PostBuild">
  9. <Message Text="Relocating" Importance="normal" />
  10. <ItemGroup>
  11. <SystemFiles Include="$(OPath)I18N.*" />
  12. <SystemFiles Include="$(OPath)IllusionInjector.*" />
  13. <SystemFiles Include="$(OPath)IllusionPlugin.*" />
  14. <SystemFiles Include="$(OPath)RequiredMonoLibs\**\*" />
  15. <OldLibFiles Include="$(OPath)Libs\**\*" />
  16. </ItemGroup>
  17. <Move SourceFiles="@(SystemFiles)" DestinationFolder="$(OPath)Data\Managed" />
  18. <RemoveDir Directories="$(OPath)RequiredMonoLibs" />
  19. <Delete Files="@(OldLibFiles)" />
  20. <RemoveDir Directories="$(OPath)Libs" />
  21. <ItemGroup>
  22. <LibFiles Include="$(OPath)**\*" Exclude="$(OPath)Data\**\*;$(OPath)Lib\**\*" />
  23. </ItemGroup>
  24. <Move SourceFiles="@(LibFiles)" DestinationFolder="$(OPath)Libs\" />
  25. <RemoveDir Directories="$(OPath)IncludedLibs" />
  26. <ItemGroup>
  27. <ToRename Include="$(OPath)Libs\**\*.dll" />
  28. </ItemGroup>
  29. <AssemblyRename Assemblies="@(ToRename)" />
  30. </Target>
  31. </Project>