This commit is contained in:
h z
2025-02-18 11:41:05 +00:00
parent 4d3d06f8d1
commit dce78db64c
3 changed files with 18 additions and 55 deletions

View File

@@ -1,11 +1,16 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<CustomTasksFolder>$(MSBuildThisFileDirectory)tasks/netstandard2.0/</CustomTasksFolder>
<CustomTasksAssembly>$(CustomTasksFolder)$(MSBuildThisFileName).dll</CustomTasksAssembly>
<TasksFolder>$(MSBuildThisFileDirectory)tasks/netstandard2.0/</TasksFolder>
<TasksAssembly>$(TasksFolder)$(MSBuildThisFileName).dll</TasksAssembly>
</PropertyGroup>
<UsingTask
TaskName="GenerateProxyNodesTask"
AssemblyFile="$(CustomTasksAssembly)"
<UsingTask
TaskName="GenerateProxyNodesTask"
AssemblyFile="$(TasksAssembly)"
/>
<UsingTask
TaskName="GenerateTextureSetTask"
AssemblyFile="$(TasksAssembly)"
/>
</Project>

View File

@@ -1,28 +1,6 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="CheckCustomTasksAssembly" BeforeTargets="CoreCompile">
<Message Text="CustomTasksAssembly: $(CustomTasksAssembly)" Importance="High" />
<Target Name="CheckTasksAssembly" BeforeTargets="CoreCompile">
<Message Text="TasksAssembly: $(TasksAssembly)" Importance="High" />
</Target>
<Target Name="CopyPoloniumTasks" AfterTargets="ResolveReferences">
<RemoveDir Directories="$(ProjectDir)Package/build/tasks" Condition="Exists('$(ProjectDir)Package/build/tasks')"/>
<MakeDir Directories="$(ProjectDir)Package/build/tasks" />
<ItemGroup>
<PoloniumTasksAssemblies Include="$(CustomTasksFolder)**/*.*"/>
</ItemGroup>
<Message Text="Copying Polonium Tasks To Target......" Importance="high"/>
<Copy
SourceFiles="@(PoloniumTasksAssemblies)"
DestinationFolder="$(ProjectDir)Package/build/tasks"
SkipUnchangedFiles="true"
/>
</Target>
<ItemGroup>
<None
Include="$(ProjectDir)Package/build/tasks/**/*"
Pack="true"
PackagePath="build/tasks"
/>
</ItemGroup>
</Project>