Skip to content
Permalink
Browse files

[Build] Moved PackAssets task in Xenko.Core.Tasks

  • Loading branch information
xen2 committed Nov 22, 2018
1 parent 4740daa commit 76b3c857a63d5ce5a7a1e237eceec620ac982c90
@@ -137,7 +137,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xenko.Engine", "..\sources\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xenko.Graphics", "..\sources\engine\Xenko.Graphics\Xenko.Graphics.csproj", "{FB06C76A-6BB7-40BE-9AFA-FEC13B045FB5}"
ProjectSection(ProjectDependencies) = postProject
{1E54A9A2-4439-4444-AE57-6D2ED3C0DC47} = {1E54A9A2-4439-4444-AE57-6D2ED3C0DC47}
{7C67FF28-1B9E-4F13-8BDA-B833D588BC6A} = {7C67FF28-1B9E-4F13-8BDA-B833D588BC6A}
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xenko.Engine.Tests.Windows", "..\sources\engine\Xenko.Engine.Tests\Xenko.Engine.Tests.Windows.csproj", "{A8F8D125-7A22-489F-99BC-9A02F545A17F}"
@@ -6,12 +6,13 @@
using System;
using System.Collections.Generic;
using System.IO;
using Xenko.Core.Assets;
using Xenko.Core.Diagnostics;
using Xenko.Core.IO;
using Xenko.Core.Yaml;
using Xenko.Core.Yaml.Events;

namespace Xenko.Core.Assets.Tasks
namespace Xenko.Core.Tasks
{
public class PackAssets : Task
{
@@ -51,7 +51,7 @@
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Xenko.Core.Design\Xenko.Core.Design.csproj" />
<ProjectReference Include="..\..\assets\Xenko.Core.Assets\Xenko.Core.Assets.csproj" />
</ItemGroup>
<Import Project="$(XenkoPostSettingsTargets)" />
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
@@ -150,7 +150,7 @@
</PropertyGroup>

<!-- Pack target -->
<UsingTask TaskName="Xenko.Core.Assets.Tasks.PackAssets" AssemblyFile="$(MSBuildThisFileDirectory)..\assets\Xenko.Core.Assets\bin\Debug\net472\Xenko.Core.Assets.dll" />
<UsingTask TaskName="Xenko.Core.Tasks.PackAssets" AssemblyFile="$(MSBuildThisFileDirectory)..\core\Xenko.Core.Tasks\bin\Debug\net472\Xenko.Core.Tasks.dll" />
<Target Name="PrepareXenkoAssetsForPack" BeforeTargets="_GetPackageFiles" Condition="'$(XenkoPackAssets)' == 'true'">
<PackAssets ProjectFile="$(MSBuildProjectFile)" IntermediatePackagePath="$(IntermediateOutputPath)\xenko">
<Output TaskParameter="GeneratedItems" ItemName="None"/>

0 comments on commit 76b3c85

Please sign in to comment.
You can’t perform that action at this time.