[Build] Removed obsolete target files

This commit is contained in:
Virgile Bello 2018-12-06 12:42:52 +09:00
Родитель d6b6a33fa3
Коммит 90ce1a0f9c
14 изменённых файлов: 0 добавлений и 760 удалений

Просмотреть файл

@ -1,57 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoIsExecutable Condition=" '$(AndroidApplication)' == 'true'">true</XenkoIsExecutable>
<XenkoNETFrameworkVersion>v2.3</XenkoNETFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.XML" />
<Reference Include="System.XML.Linq" />
</ItemGroup>
<!-- Copy native libraries to output -->
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<AndroidNativeLibrary Include="@(_XenkoDependencyNativeLib)"/>
</ItemGroup>
</Target>
<Target Name="_XenkoEmbedNativeLibraries" Condition=" '$(XenkoIsExecutable)' == 'true'" BeforeTargets="Build">
<!-- Expand native libraries into Content items for the different supported CPU architectures -->
<ItemGroup>
<!-- Note: Xamarin can automatically probe Abi using containing folder name -->
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)x86\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)x86\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)$(XenkoGraphicsApi)\x86\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)$(XenkoGraphicsApi)\x86\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)x86_64\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)x86_64\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)$(XenkoGraphicsApi)\x86_64\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)$(XenkoGraphicsApi)\x86_64\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)armeabi\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)armeabi\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)$(XenkoGraphicsApi)\armeabi\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)$(XenkoGraphicsApi)\armeabi\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)armeabi-v7a\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)armeabi-v7a\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)$(XenkoGraphicsApi)\armeabi-v7a\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)$(XenkoGraphicsApi)\armeabi-v7a\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)arm64-v8a\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)arm64-v8a\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
<AndroidNativeLibrary Include="@(XenkoEmbeddedNativeLibrary->'%(RootDir)%(Directory)$(XenkoGraphicsApi)\arm64-v8a\%(Filename).so')" Condition="Exists('%(XenkoEmbeddedNativeLibrary.RootDir)%(XenkoEmbeddedNativeLibrary.Directory)$(XenkoGraphicsApi)\arm64-v8a\%(XenkoEmbeddedNativeLibrary.Filename).so')"/>
</ItemGroup>
</Target>
<!-- Target to get signed .apk name -->
<Target Name="GetAndroidPackage" DependsOnTargets="_ValidateAndroidPackageProperties" Returns="$(_AndroidPackage)"/>
<!-- Register Android asset deployment task -->
<PropertyGroup>
<PrepareForRunDependsOn>
$(PrepareForRunDependsOn);
DeployAndroidCustom
</PrepareForRunDependsOn>
</PropertyGroup>
<Target Name="DeployAndroidCustom">
<!-- Add .bundle to list of uncompressed extensions -->
<PropertyGroup>
<AndroidStoreUncompressedFileExtensions>$(AndroidStoreUncompressedFileExtensions);.bundle</AndroidStoreUncompressedFileExtensions>
</PropertyGroup>
</Target>
</Project>

Просмотреть файл

@ -1,8 +0,0 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoPackageXenkoVersion>dev</XenkoPackageXenkoVersion>
</PropertyGroup>
<!-- This is the target file used by samples at development time. -->
<Import Project="$(MSBuildThisFileDirectory)\Xenko.targets"/>
</Project>

Просмотреть файл

@ -1,38 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoNETFrameworkVersion>v4.5</XenkoNETFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<None Condition="'$(XenkoNETRuntime)' == 'CoreCLR'" Include="$(XenkoPackageXenkoPlatformBin)\CoreCLRSetup.sh">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Condition="'$(XenkoNETRuntime)' == 'CoreCLR'" Include="$(XenkoPackageXenkoPlatformBin)\runtimeconfig.json">
<Link>%(RecursiveDir)$(AssemblyName).runtimeconfig.json</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<!-- Copy native libraries to output -->
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<None Include="@(_XenkoDependencyNativeLib)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Target>
<UsingTask TaskName="PackageDeployTask" AssemblyFile="$(XenkoPackageXenko)\bin\Windows\Xenko.Assets.dll"/>
<Target Name="DeployOnLinux" AfterTargets="XenkoCompileAsset" Condition="('$(XenkoIsExecutable)' == 'true') AND ('$(XenkoUnitTest)' != 'true') AND ('$(XenkoDeploy)' == 'true')">
<PackageDeployTask
Directory="$(TargetDir)"
Machine="$(XenkoRemoteTarget)"
Username="$(XenkoRemoteUsername)"
Password="$(XenkoRemotePassword)"
Location="local/Projects/$(MSBuildProjectName)" />
</Target>
</Project>

Просмотреть файл

@ -1,65 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project InitialTargets="XenkoRemapPlatforms" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="XenkoRemapPlatforms">
<!-- Remap real platform for UWP -->
<CreateProperty Condition=" '$(Platform)' == 'UWP'" Value="AnyCPU">
<Output TaskParameter="Value" PropertyName="Platform" />
</CreateProperty>
</Target>
<ItemGroup>
<!-- Temporarily until dependencies are properly added to .nuspec file (note: will need https://github.com/NuGet/Home/issues/1660 to have different dependencies for different graphics platforms) -->
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform" Version="6.0.6" />
<PackageReference Include="SharpDX.Direct3D11" Version="4.0.1" />
<PackageReference Include="SharpDX.D3DCompiler" Version="4.0.1" />
<PackageReference Include="System.ValueTuple" Version="4.4.0" />
<PackageReference Include="System.Threading.Tasks.Dataflow" Version="4.7.0" />
</ItemGroup>
<PropertyGroup>
<!-- Rewrite platform so that ProjectReference libraries get built properly -->
<Platform>UWP</Platform>
<XenkoIsExecutable Condition=" '$(OutputType)' == 'AppContainerExe'">true</XenkoIsExecutable>
<XenkoNETFrameworkVersion>v4.5.1</XenkoNETFrameworkVersion>
<XenkoCPU Condition="'$(Platform)' == 'x86'">x86</XenkoCPU>
<XenkoCPU Condition="'$(Platform)' == 'x64'">x64</XenkoCPU>
<XenkoCPU Condition="'$(Platform)' == 'ARM'">ARM</XenkoCPU>
<!-- Use OutputPath to define AppxPackage directory -->
<AppxPackageDir>$(OutputPath)\$(AppxPackageDirName)\</AppxPackageDir>
<AppxPackageTestDir>$(AppxPackageDir)Test\</AppxPackageTestDir>
<AppxPackageName>$(AssemblyName)</AppxPackageName>
</PropertyGroup>
<!-- Copy native libraries to output -->
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<Content Include="@(_XenkoDependencyNativeLib)" Condition="$([System.String]::Copy('%(_XenkoDependencyNativeLib.Link)').StartsWith('$(XenkoCPU)'))">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link Condition="'$(XenkoCPU)' != ''">$([System.String]::Copy('%(_XenkoDependencyNativeLib.Link)').Replace('$(XenkoCPU)\', ''))</Link>
</Content>
</ItemGroup>
</Target>
<PropertyGroup>
<PrepareResourcesDependsOn>
DeployAssetsUWP;
$(PrepareResourcesDependsOn)
</PrepareResourcesDependsOn>
</PropertyGroup>
<!-- UWP: Transform Assets into Content -->
<Target Name="DeployAssetsUWP" DependsOnTargets="XenkoCompileAsset" Condition="'$(XenkoIsExecutable)' == 'true'">
<ItemGroup>
<!-- Define the Assets to deploy -->
<AssetsToDeploy Include="$(XenkoCompileAssetOutputPath)\**\*.*"/>
<Content Include="@(AssetsToDeploy)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>data\%(RecursiveDir)%(Filename)%(Extension)</Link>
</Content>
</ItemGroup>
</Target>
</Project>

Просмотреть файл

@ -1,28 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoNETFrameworkVersion>v4.5</XenkoNETFrameworkVersion>
</PropertyGroup>
<!-- On Windows platform automatically add the following references -->
<Choose>
<When Condition=" '$(XenkoIsExecutable)' == 'true' And '$(XenkoUnitTest)' != 'true' ">
<ItemGroup>
<Reference Include="Xenko.Shaders.Compiler">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.Shaders.Compiler.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<!-- Copy native libraries to output -->
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<None Include="@(_XenkoDependencyNativeLib)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Target>
</Project>

Просмотреть файл

@ -1,4 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildThisFileDirectory)\Xenko.UWP.targets"/>
</Project>

Просмотреть файл

@ -1,64 +0,0 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoNETFrameworkVersion>v1.0</XenkoNETFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.XML" />
<Reference Include="System.XML.Linq" />
</ItemGroup>
<!--
*****************************************************************************************************************************
Handle XenkoEmbedNativeLibrary files
*****************************************************************************************************************************
-->
<PropertyGroup>
<XamarinVersion>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\SOFTWARE\Xamarin\iOS', 'InstalledVersion', '8.2.0', RegistryView.Registry32))</XamarinVersion>
<XamarinIOSMajorVersion>$([System.Text.RegularExpressions.Regex]::Match($(XamarinVersion), `^(\d+)\.(\d+)\.`).get_Groups().get_Item(1).ToString())</XamarinIOSMajorVersion>
<XamarinIOSMinorVersion>$([System.Text.RegularExpressions.Regex]::Match($(XamarinVersion), `^(\d+)\.(\d+)\.`).get_Groups().get_Item(2).ToString())</XamarinIOSMinorVersion>
<!-- Let users add this if they want for now.
<XenkoMTouchExtras>-framework OpenGLES -framework SpriteKit -framework CoreAudio -framework CoreMedia -framework CoreText -framework CoreVideo -framework AudioToolbox -framework MediaPlayer -framework GLKit</XenkoMTouchExtras>
-->
<XenkoMTouchExtras></XenkoMTouchExtras>
</PropertyGroup>
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<NativeReference Include="@(_XenkoDependencyNativeLib)">
<Kind>Static</Kind>
</NativeReference>
</ItemGroup>
</Target>
<!-- Override PostSettings target CopyXenkoNativeLibraries.
Copy the libcore.a library to the project root directory for future native link. -->
<Target Name="CopyXenkoNativeiOsLibrary" Condition=" '$(XenkoIsExecutable)' == 'true'" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<PropertyGroup Condition=" '$(XenkoPlatform)' == 'iOS' ">
<MtouchExtraArgs>$(MtouchExtraArgs) --compiler=clang -cxx -gcc_flags '-lstdc++ $(MtouchExtraArgsLibs)'</MtouchExtraArgs>
</PropertyGroup>
</Target>
<!-- Deploy assets and native libraries (Xamarin iOS 8.2+ version) -->
<Target Name="DeployAssetsiOS" DependsOnTargets="_GenerateBundleName;XenkoCompileAsset" BeforeTargets="_CollectBundleResources" Condition="'$(XenkoIsExecutable)' == 'true'">
<!-- Add all game data as content on iphone. Note that "Link" doesn't work but Xamarin seems to use a similar "LogicalName" property. -->
<ItemGroup>
<!-- Define the Assets to deploy -->
<AssetsToDeploy Include="$(XenkoCompileAssetOutputPath)\**\*.*"/>
<BundleResource Include="@(AssetsToDeploy)" Condition="$(XamarinIOSMajorVersion) == 8 And $(XamarinIOSMinorVersion) &lt; 10">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<LogicalName>data\%(RecursiveDir)%(Filename)%(Extension)</LogicalName>
<OptimizeImage>False</OptimizeImage>
</BundleResource>
<Content Include="@(AssetsToDeploy)" Condition="($(XamarinIOSMajorVersion) == 8 And $(XamarinIOSMinorVersion) >= 10) Or $(XamarinIOSMajorVersion) >= 9">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>data\%(RecursiveDir)%(Filename)%(Extension)</Link>
</Content>
</ItemGroup>
</Target>
</Project>

Просмотреть файл

@ -1,41 +0,0 @@
<!-- Build file post-included by all Xenko projects -->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<XenkoNETFrameworkVersion>v4.5</XenkoNETFrameworkVersion>
</PropertyGroup>
<ItemGroup>
<XenkoEmbeddedNativeLibrary Include="$(XenkoPackageXenkoPlatformBin)\*.config"/>
<XenkoEmbeddedNativeLibrary Include="$(XenkoPackageXenkoPlatformBin)\libSDL2-2.0.0"/>
<None Condition="'$(XenkoNETRuntime)' == 'CoreCLR'" Include="$(XenkoPackageXenkoPlatformBin)\CoreCLRSetup.sh">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Condition="'$(XenkoNETRuntime)' == 'CoreCLR'" Include="$(XenkoPackageXenkoPlatformBin)\runtimeconfig.json">
<Link>%(RecursiveDir)$(AssemblyName).runtimeconfig.json</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<!-- Copy native libraries to output -->
<Target Name="_XenkoSetupNativeLibraries" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<None Include="@(_XenkoDependencyNativeLib)">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
</Target>
<UsingTask TaskName="PackageDeployTask" AssemblyFile="$(XenkoPackageXenko)\bin\Windows\Xenko.Assets.dll"/>
<Target Name="DeployOnmacOS" AfterTargets="XenkoCompileAsset" Condition="('$(XenkoIsExecutable)' == 'true') AND ('$(XenkoUnitTest)' != 'true') AND ('$(XenkoDeploy)' == 'true')">
<PackageDeployTask
Directory="$(TargetDir)"
Machine="$(XenkoRemoteTarget)"
Username="$(XenkoRemoteUsername)"
Password="$(XenkoRemotePassword)"
Location="local/Projects/$(MSBuildProjectName)" />
</Target>
</Project>

Просмотреть файл

@ -1,36 +0,0 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Support for TargetFramework xamarinios10 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'xamarinios10' ">
<TargetFrameworkVersion>v1.0</TargetFrameworkVersion>
<TargetFrameworkIdentifier>Xamarin.iOS</TargetFrameworkIdentifier>
<XenkoPlatformDefines>XENKO_PLATFORM_MONO_MOBILE;XENKO_PLATFORM_IOS;NET45</XenkoPlatformDefines>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<LanguageTargets>$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets</LanguageTargets>
</PropertyGroup>
<!-- Support for TargetFramework monoandroid50 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'monoandroid50' ">
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
<TargetFramework>monoandroid50</TargetFramework>
<TargetFrameworkIdentifier>MonoAndroid</TargetFrameworkIdentifier>
<XenkoPlatformDefines>XENKO_PLATFORM_MONO_MOBILE;XENKO_PLATFORM_ANDROID;NET45</XenkoPlatformDefines>
<AndroidSupportedAbis>armeabi-v7a%3barmeabi%3bx86</AndroidSupportedAbis>
<AndroidStoreUncompressedFileExtensions />
<MandroidI18n />
<LanguageTargets>$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets</LanguageTargets>
</PropertyGroup>
<!-- Support for TargetFramework uap10.0 -->
<PropertyGroup Condition=" '$(TargetFramework)' == 'uap10.0' ">
<TargetFrameworkIdentifier>.NETCore</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v5.0</TargetFrameworkVersion>
<TargetFrameworkMoniker>.NETCore,Version=v5.0</TargetFrameworkMoniker>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion>10.0.17134.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion>
<NugetTargetMoniker>UAP,Version=v10.0</NugetTargetMoniker>
<CopyLocalLockFileAssemblies>false</CopyLocalLockFileAssemblies>
<LanguageTargets>$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets</LanguageTargets>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
</PropertyGroup>
</Project>

Просмотреть файл

@ -1,367 +0,0 @@
<Project InitialTargets="XenkoCheckRequirements" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--Check requirements when running this build file -->
<Target Name="XenkoCheckRequirements">
<Error Condition="'$(XenkoPlatform)' == ''" Text="The property %24(XenkoPlatform) must be defined by the project"/>
<!-- If we compile without Visual Studio, still properly resolve platform if SolutionPath is given -->
<MSBuild Projects="$(SolutionPath)"
Condition="'$(BuildingInsideVisualStudio)' != 'true' and '$(BuildingSolutionFile)' != 'true' and '$(SolutionPath)' != '' and '$(SolutionPath)' != '*Undefined*'"
Targets="GetSolutionConfigurationContents"
Properties="Configuration=$(Configuration);Platform=$(SolutionPlatform)"
ContinueOnError="$(ContinueOnError)">
<Output TaskParameter="TargetOutputs" PropertyName="CurrentSolutionConfigurationContents"/>
</MSBuild>
</Target>
<PropertyGroup>
<!-- Windows10 was renammed into UWP -->
<XenkoPlatform Condition="'$(XenkoPlatform)' == 'Windows10'">UWP</XenkoPlatform>
<!-- Default mappings -->
<XenkoPlatform Condition="'$(XenkoPlatform)' == '' And '$(TargetPlatformIdentifier)' == 'UAP'">UWP</XenkoPlatform>
<XenkoPlatform Condition="'$(XenkoPlatform)' == '' And '$(TargetFrameworkIdentifier)' == 'MonoAndroid'">Android</XenkoPlatform>
<XenkoPlatform Condition="'$(XenkoPlatform)' == '' And '$(TargetFrameworkIdentifier)' == 'Xamarin.iOS'">iOS</XenkoPlatform>
<XenkoPlatform Condition="'$(XenkoPlatform)' == ''">Windows</XenkoPlatform>
<!-- Defaults for CPU and GraphicsApi based on platform-->
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'Windows'">Direct3D11</XenkoDefaultGraphicsApi>
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'UWP'">Direct3D11</XenkoDefaultGraphicsApi>
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'Android'">OpenGLES</XenkoDefaultGraphicsApi>
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'iOS'">OpenGLES</XenkoDefaultGraphicsApi>
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'Linux'">OpenGL</XenkoDefaultGraphicsApi>
<XenkoDefaultGraphicsApi Condition="'$(XenkoPlatform)' == 'macOS'">OpenGL</XenkoDefaultGraphicsApi>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == '' and '$(XenkoDefaultGraphicsApi)' != ''">$(XenkoDefaultGraphicsApi)</XenkoGraphicsApi>
<!--By default, turn on assembly processor-->
<XenkoAssemblyProcessor Condition="'$(XenkoAssemblyProcessor)' == ''">true</XenkoAssemblyProcessor>
<XenkoUserLibrariesPath>$(MSBuildProjectDirectory)\NativeLibs</XenkoUserLibrariesPath>
</PropertyGroup>
<PropertyGroup Condition="'$(XenkoPlatformFullName)' == ''">
<!-- Define the location where to build assemblies. -->
<XenkoPlatformFullName>$(XenkoPlatform)</XenkoPlatformFullName>
<XenkoPlatformFullName Condition="'$(XenkoBuildDirExtension)' != ''">$(XenkoPlatformFullName)-$(XenkoBuildDirExtension)</XenkoPlatformFullName>
</PropertyGroup>
<PropertyGroup>
<XenkoGraphicsSpecificOriginal>$(XenkoPlatformFullName)\$(XenkoGraphicsApi)</XenkoGraphicsSpecificOriginal>
</PropertyGroup>
<!--
*****************************************************************************************************************************
Package setup
*****************************************************************************************************************************
-->
<!-- Setup global properties for this package -->
<PropertyGroup>
<XenkoPackageXenko Condition="'$(XenkoPackageXenko)' == ''">$(MSBuildThisFileDirectory)..</XenkoPackageXenko>
<!-- Resolve path (remove ".." elements), for better support on Xamarin iOS -->
<XenkoPackageXenko>$([System.IO.Path]::GetFullPath('$(XenkoPackageXenko)'))</XenkoPackageXenko>
<XenkoPackageXenkoBin Condition="'$(XenkoPackageXenkoBin)' == ''">$(XenkoPackageXenko)\Bin</XenkoPackageXenkoBin>
<XenkoPackageXenkoSdkBin Condition="'$(XenkoPackageXenkoSdkBin)' == ''">$(XenkoPackageXenkoBin)\Windows</XenkoPackageXenkoSdkBin>
<XenkoPackageXenkoPlatformBin Condition="'$(XenkoPackageXenkoPlatformBin)' == ''">$(XenkoPackageXenkoBin)\$(XenkoPlatformFullName)</XenkoPackageXenkoPlatformBin>
</PropertyGroup>
<!---
*****************************************************************************************************************************
Assembly References
*****************************************************************************************************************************
-->
<Choose>
<When Condition="'$(XenkoUnitTest)' != 'true'">
<ItemGroup>
<Reference Include="Xenko.Core">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Core.dll</HintPath>
</Reference>
<Reference Include="Xenko.Core.IO">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Core.IO.dll</HintPath>
</Reference>
<Reference Include="Xenko.Core.Mathematics">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Core.Mathematics.dll</HintPath>
</Reference>
<Reference Include="Xenko.Core.MicroThreading">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Core.MicroThreading.dll</HintPath>
</Reference>
<Reference Include="Xenko.Core.Serialization">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Core.Serialization.dll</HintPath>
</Reference>
<Reference Include="Xenko">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.dll</HintPath>
</Reference>
<Reference Include="Xenko.Audio">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Audio.dll</HintPath>
</Reference>
<Reference Include="Xenko.Engine">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Engine.dll</HintPath>
</Reference>
<Reference Include="Xenko.Games">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.Games.dll</HintPath>
</Reference>
<Reference Include="Xenko.Graphics">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.Graphics.dll</HintPath>
</Reference>
<Reference Include="Xenko.Particles">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Particles.dll</HintPath>
</Reference>
<Reference Include="Xenko.Input">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.Input.dll</HintPath>
</Reference>
<Reference Include="Xenko.Shaders">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Shaders.dll</HintPath>
</Reference>
<Reference Include="Xenko.UI">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.UI.dll</HintPath>
</Reference>
<Reference Include="Xenko.Physics">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Physics.dll</HintPath>
</Reference>
<Reference Include="Xenko.Navigation">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Navigation.dll</HintPath>
</Reference>
<Reference Include="Xenko.SpriteStudio.Runtime">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.SpriteStudio.Runtime.dll</HintPath>
</Reference>
<Reference Include="Xenko.Native">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Native.dll</HintPath>
</Reference>
<Reference Include="Xenko.VirtualReality">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.VirtualReality.dll</HintPath>
</Reference>
<Reference Include="Xenko.Video">
<HintPath>$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\Xenko.Video.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<Choose>
<When Condition="'$(XenkoAutoTesting)' == 'true'">
<ItemGroup>
<Reference Include="Xenko.Games.Testing">
<HintPath>$(XenkoPackageXenkoPlatformBin)\Xenko.Games.Testing.dll</HintPath>
</Reference>
</ItemGroup>
</When>
</Choose>
<!--
*****************************************************************************************************************************
Platform specific
*****************************************************************************************************************************
-->
<PropertyGroup>
<!--This variable can be overriden by a platform specific targets (in case the executable is located into an assembly dll )-->
<XenkoIsExecutable Condition=" '$(OutputType)' == 'Exe'">true</XenkoIsExecutable>
<XenkoIsExecutable Condition=" '$(OutputType)' == 'WinExe'">true</XenkoIsExecutable>
<XenkoAssemblyProcessorPath>$(XenkoPackageXenko)\deps\AssemblyProcessor\Xenko.Core.AssemblyProcessor.Packed.exe</XenkoAssemblyProcessorPath>
</PropertyGroup>
<!-- Include platform specific targets -->
<Import Condition="Exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName).$(XenkoPlatform).targets')"
Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName).$(XenkoPlatform).targets"/>
<Import Condition="('$(XenkoNETRuntime)' != '') and Exists('$(MSBuildThisFileDirectory)\$(MSBuildThisFileName).$(XenkoNETRuntime).targets')"
Project="$(MSBuildThisFileDirectory)\$(MSBuildThisFileName).$(XenkoNETRuntime).targets"/>
<!--
*****************************************************************************************************************************
Assembly Processor
*****************************************************************************************************************************
-->
<UsingTask TaskName="AssemblyProcessorTask" AssemblyFile="$(XenkoAssemblyProcessorPath)" Condition=" '$(XenkoAssemblyProcessorPath)' != '' And '$(XenkoAssemblyProcessorDev)' != 'true' "/>
<UsingTask TaskName="Xenko.Assets.Tasks.PackAssets" AssemblyFile="$(XenkoPackageXenkoSdkBin)\Xenko.Assets.dll" />
<Target Name="XenkoRunAssemblyProcessor" DependsOnTargets="ResolveProjectReferences">
<WriteLinesToFile File="$(IntermediateOutputPath)XenkoReferences.cache" Lines="@(ReferencePath)" Overwrite="true" />
<ItemGroup>
<XenkoAddReference Include="@(ReferencePath)" Condition="'%(ReferencePath.ExternallyResolved)' == 'true' Or '%(ReferencePath.BuildReference)' == 'true'" />
</ItemGroup>
<PropertyGroup>
<XenkoAssemblyProcessorOptions Condition="'$(XenkoAssemblyProcessorOptions)' == ''">--auto-notify-property --parameter-key --auto-module-initializer --serialization</XenkoAssemblyProcessorOptions>
<XenkoAssemblyProcessorOptions Condition="'$(DocumentationFile)' != ''">$(XenkoAssemblyProcessorOptions) --docfile="$(DocumentationFile)"</XenkoAssemblyProcessorOptions>
<!-- Physics, Particles and SpriteStudio assembly is actually hard coded/referenced here, remove once a better system is in place! -->
<!-- Please keep in sync with AssemblyRecompiler.cs -->
<XenkoAssemblyProcessorOptions>$(XenkoAssemblyProcessorOptions) @(XenkoAddReference->'--add-reference=%22%(Identity)%22',' ')</XenkoAssemblyProcessorOptions>
<XenkoAssemblyProcessorOptions Condition="'$(XenkoAutoTesting)' == 'true'">$(XenkoAssemblyProcessorOptions) --add-reference="$(XenkoPackageXenkoPlatformBin)\Xenko.Games.Testing.dll"</XenkoAssemblyProcessorOptions>
<XenkoAssemblyProcessorOptions>$(XenkoAssemblyProcessorOptions) --references-file="$(IntermediateOutputPath)XenkoReferences.cache"</XenkoAssemblyProcessorOptions>
<XenkoAssemblyProcessorOptions>$(XenkoAssemblyProcessorOptions) --platform=$(XenkoPlatform) --targetFramework=$(XenkoNETFrameworkVersion) "$(IntermediateOutputPath)$(TargetName)$(TargetExt)"</XenkoAssemblyProcessorOptions>
<XenkoAssemblyProcessorOptions Condition="'$(AssemblyOriginatorKeyFile)' != ''">$(XenkoAssemblyProcessorOptions) --signkeyfile="$(AssemblyOriginatorKeyFile)" --delete-on-error</XenkoAssemblyProcessorOptions>
</PropertyGroup>
<!-- Run assembly processor -->
<Message Condition=" '$(XenkoAssemblyProcessorDev)' != 'true' " Importance="low" Text="&quot;$(XenkoAssemblyProcessorPath)&quot; $(XenkoAssemblyProcessorOptions)"/>
<AssemblyProcessorTask Condition=" '$(XenkoAssemblyProcessorDev)' != 'true' " Arguments="$(XenkoAssemblyProcessorOptions)"/>
<!-- Dev mode: don't use task to avoid locking the file -->
<Exec Condition=" '$(XenkoAssemblyProcessorDev)' == 'true' " Command="&quot;$(XenkoAssemblyProcessorPath)&quot; $(XenkoAssemblyProcessorOptions)"/>
</Target>
<PropertyGroup Condition=" '$(XenkoAssemblyProcessor)' == 'true'">
<PrepareForRunDependsOn>
XenkoRunAssemblyProcessor;
$(PrepareForRunDependsOn)
</PrepareForRunDependsOn>
</PropertyGroup>
<!--
*****************************************************************************************************************************
Dependencies reading (from .ssdeps)
Important: Please keep in sync with Xenko.Core.PostSettings.Dependencies.Targets
*****************************************************************************************************************************
-->
<!-- List dependency files from .ssdeps -->
<Target Name="_XenkoListDepsFiles" DependsOnTargets="ResolveAssemblyReferences">
<ItemGroup>
<_XenkoDepsFile Include="@(ReferencePath->'%(RootDir)%(Directory)%(Filename).ssdeps')" Condition="'%(CopyLocal)' != 'false' And Exists('%(RootDir)%(Directory)%(Filename).ssdeps')"/>
<_XenkoDepsFile Include="@(ReferenceDependencyPaths->'%(RootDir)%(Directory)%(Filename).ssdeps')" Condition="'%(CopyLocal)' != 'false' And Exists('%(RootDir)%(Directory)%(Filename).ssdeps')"/>
<None Include="@(_XenkoDepsFile)" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
</Target>
<!-- Note: this target Outputs are not real, used so that it gets expanded for each file
also, if _XenkoDepsFile is empty the target is still called so check for it -->
<Target Name="_XenkoBuildDependencies" DependsOnTargets="_XenkoListDepsFiles" Outputs="%(_XenkoDepsFile.Identity)">
<!-- Read dependencies from file -->
<ReadLinesFromFile File="%(_XenkoDepsFile.Identity)" Condition="'%(_XenkoDepsFile.Identity)' != ''">
<Output TaskParameter="Lines" ItemName="_XenkoDependencyLocal"/>
</ReadLinesFromFile>
<PropertyGroup>
<_XenkoSourceDir>%(_XenkoDepsFile.RootDir)%(_XenkoDepsFile.Directory)</_XenkoSourceDir>
</PropertyGroup>
<ItemGroup>
<_XenkoDependencyLocal>
<!-- Note: Using regex match rather than regex split or string split to avoid MSBuild MissingMethodException -->
<Type>$([System.Text.RegularExpressions.Regex]::Match('%(Identity)', `(.*);(.*);(.*)`).get_Groups().get_Item(1).ToString())</Type>
<SourcePath>$([System.Text.RegularExpressions.Regex]::Match('%(Identity)', `(.*);(.*);(.*)`).get_Groups().get_Item(2).ToString())</SourcePath>
<Link>$([System.Text.RegularExpressions.Regex]::Match('%(Identity)', `(.*);(.*);(.*)`).get_Groups().get_Item(3).ToString())</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</_XenkoDependencyLocal>
<_XenkoDependencyContent Include="@(_XenkoDependencyLocal->'$(_XenkoSourceDir)%(SourcePath)')" Condition="'%(_XenkoDependencyLocal.Type)' == 'Content'"/>
<_XenkoDependencyNativeLib Include="@(_XenkoDependencyLocal->'$(_XenkoSourceDir)%(SourcePath)')" Condition="'%(_XenkoDependencyLocal.Type)' == 'NativeLib'"/>
</ItemGroup>
<!-- Message -->
<Message Importance="Normal" Text="Detected dependency from %(_XenkoDepsFile.FileName)" Condition="'%(_XenkoDepsFile.Identity)' != ''"/>
<Message Importance="Normal" Text=" %(_XenkoDependencyLocal.Type): %(_XenkoDependencyLocal.Identity) => %(_XenkoDependencyLocal.Link)"/>
<!-- Cleanup so that _XenkoDependencyLocal is local -->
<ItemGroup>
<_XenkoDependencyLocal Remove="@(_XenkoDependencyLocal)"/>
</ItemGroup>
</Target>
<Target Name="_XenkoCopyContent" DependsOnTargets="_XenkoBuildDependencies" AfterTargets="ResolveAssemblyReferences">
<ItemGroup>
<Content Include="@(_XenkoDependencyContent)"/>
</ItemGroup>
</Target>
<!--
*****************************************************************************************************************************
Compile Asset
*****************************************************************************************************************************
-->
<PropertyGroup>
<ResolveReferencesDependsOn>
XenkoUpdateGraphicsPlatform;
$(ResolveReferencesDependsOn)
</ResolveReferencesDependsOn>
<PrepareForRunDependsOn>
$(PrepareForRunDependsOn);
XenkoCompileAsset
</PrepareForRunDependsOn>
<!--asset BuildPath for all platforms (same as package)-->
<XenkoCompileAssetBuildPath Condition="'$(XenkoCompileAssetBuildPath)' == ''">$(MSBuildProjectDirectory)\..\Cache\data</XenkoCompileAssetBuildPath>
<!--asset OutputPath for Android.-->
<XenkoCompileAssetOutputPath Condition="'$(XenkoCompileAssetOutputPath)' == '' and '$(XenkoPlatform)' == 'Android'">$(ProjectDir)$(IntermediateOutputPath)assets\data</XenkoCompileAssetOutputPath>
<!--asset OutputPath for other platforms. Note: this is overridden for UnitTests projects. -->
<XenkoCompileAssetOutputPath Condition="'$(XenkoCompileAssetOutputPath)' == ''">$(TargetDir)data</XenkoCompileAssetOutputPath>
<XenkoCompileAssetCommand Condition="'$(XenkoCompileAssetCommand)' == ''">$(MSBuildThisFileDirectory)..\sources\assets\Xenko.Core.Assets.CompilerApp\bin\$(Configuration)\net472\Xenko.Core.Assets.CompilerApp.exe</XenkoCompileAssetCommand>
<!--<XenkoCompileAssetCommandProxy Condition="'$(DisableAssetCompilerExecServerProxy)' == 'true' Or '$(XenkoDisableAssetCompilerExecServerProxy)' == 'true'">&quot;$(XenkoCompileAssetCommand)&quot;</XenkoCompileAssetCommandProxy>
<XenkoCompileAssetCommandProxy Condition="'$(XenkoCompileAssetCommandProxy)' == ''">&quot;$(XenkoPackageXenkoSdkBin)\Xenko.Core.Assets.CompilerClient.exe&quot;</XenkoCompileAssetCommandProxy>-->
<XenkoCompileAssetCommandProxy>&quot;$(XenkoCompileAssetCommand)&quot;</XenkoCompileAssetCommandProxy>
<!-- Quite hard-coded for our current way to find default game settings -->
<XenkoGameSettings Condition="'$([System.IO.File]::Exists($(MSBuildProjectDirectory)\Assets\GameSettings.xkgamesettings))'== 'true' ">$(MSBuildProjectDirectory)\Assets\GameSettings.xkgamesettings</XenkoGameSettings>
<XenkoGameSettings Condition="'$(XenkoGameSettings)' == '' and '$([System.IO.File]::Exists($(MSBuildProjectDirectory)\..\Assets\Shared\GameSettings.xkgamesettings))' == 'true'">$(MSBuildProjectDirectory)\..\Assets\Shared\GameSettings.xkgamesettings</XenkoGameSettings>
<!-- Quite hard-coded for our current unit tests -->
<XenkoGameSettings Condition="'$(XenkoGameSettings)' == '' and '$([System.IO.File]::Exists($(MSBuildProjectDirectory)\GameAssets\GameSettings.xkgamesettings))' == 'true' ">$(MSBuildProjectDirectory)\GameAssets\GameSettings.xkgamesettings</XenkoGameSettings>
<XenkoGameSettings Condition="'$(XenkoGameSettings)' == '' and '$([System.IO.File]::Exists($(MSBuildProjectDirectory)\AudioAssets\GameSettings.xkgamesettings))' == 'true' ">$(MSBuildProjectDirectory)\AudioAssets\GameSettings.xkgamesettings</XenkoGameSettings>
<XenkoGameSettings Condition="'$(XenkoGameSettings)' == '' and '$([System.IO.File]::Exists($(MSBuildProjectDirectory)\Shaders.Bytecodes\GameSettings.xkgamesettings))' == 'true' ">$(MSBuildProjectDirectory)\Shaders.Bytecodes\GameSettings.xkgamesettings</XenkoGameSettings>
</PropertyGroup>
<!-- Compute graphics platform from game settings asset -->
<Target Name="XenkoComputeGraphicsPlatformFromGameSettings" Inputs="$(XenkoGameSettings)" Outputs="$(IntermediateOutputPath)XenkoGraphicsPlatform.cache" Condition="'$(XenkoIsExecutable)' == 'true'">
<!-- Ensure the output directory exists -->
<MakeDir Directories="$(TargetDir)"/>
<MakeDir Directories="$(IntermediateOutputPath)"/>
<!-- Get the real graphics platform from .xkpkg -->
<Exec WorkingDirectory="$(TargetDir)" ConsoleToMSBuild="true"
Command="&quot;$(XenkoCompileAssetCommand)&quot; --platform=$(XenkoPlatform) --package-file=&quot;$(MSBuildProjectFullPath)&quot; --get-graphics-platform">
<Output TaskParameter="ConsoleOutput" PropertyName="XenkoGraphicsApiComputed" />
</Exec>
<!-- Write result back to disk -->
<WriteLinesToFile File="$(IntermediateOutputPath)XenkoGraphicsPlatform.cache" Lines="$(XenkoGraphicsApiComputed)" Overwrite="true" />
</Target>
<!-- Default way to resolve graphics platform (from game settings asset) -->
<Target Name="XenkoGetGraphicsPlatform" DependsOnTargets="XenkoComputeGraphicsPlatformFromGameSettings">
<ReadLinesFromFile File="$(IntermediateOutputPath)XenkoGraphicsPlatform.cache">
<Output TaskParameter="Lines" PropertyName="XenkoGraphicsApi"/>
</ReadLinesFromFile>
</Target>
<Target Name="XenkoUpdateGraphicsPlatform" DependsOnTargets="XenkoGetGraphicsPlatform">
<Message Importance="Normal" Text="Detected Graphics Platform $(XenkoGraphicsApi)"/>
<PropertyGroup>
<XenkoGraphicsSpecific>$(XenkoPlatformFullName)\$(XenkoGraphicsApi)</XenkoGraphicsSpecific>
<!-- Since some assemblies are graphics API specific, we need to add those to search path, and do so before everything else (so that $(OutDir) doesn't take precedence) -->
<AssemblySearchPaths>
$(XenkoPackageXenkoPlatformBin)\$(XenkoGraphicsApi)\;
$(XenkoPackageXenkoPlatformBin)\;
$(AssemblySearchPaths)
</AssemblySearchPaths>
</PropertyGroup>
<!-- Rewrite dependencies -->
<ItemGroup>
<CustomAdditionalCompileInputs Include="$(IntermediateOutputPath)XenkoGraphicsPlatform.cache" />
<Reference Condition="$([System.String]::Copy('%(Reference.HintPath)').Contains('$(XenkoGraphicsSpecificOriginal)'))">
<HintPath>$([System.String]::Copy('%(Reference.HintPath)').Replace('$(XenkoGraphicsSpecificOriginal)','$(XenkoGraphicsSpecific)'))</HintPath>
</Reference>
</ItemGroup>
</Target>
<!--Compile assets for all XenkoPackage items and only for an executable-->
<Target Name="XenkoCompileAsset" DependsOnTargets="XenkoUpdateGraphicsPlatform" Condition="'$(XenkoIsExecutable)' == 'true' And '$(XenkoCompileAssets)' != 'false'">
<PropertyGroup>
<XenkoCompileAssetCommandProxy>$(XenkoCompileAssetCommandProxy) $(XenkoCompileAssetOptions) --disable-auto-compile --project-configuration &quot;$(Configuration)&quot; --platform=$(XenkoPlatform) --project-configuration=$(Configuration) --output-path=&quot;$(XenkoCompileAssetOutputPath)&quot; --build-path=&quot;$(XenkoCompileAssetBuildPath)&quot; --package-file=&quot;$(MSBuildProjectFullPath)&quot; --log-pipe=&quot;$(XenkoBuildEngineLogPipeUrl)&quot;</XenkoCompileAssetCommandProxy>
<XenkoCompileAssetCommandProxy Condition="'$(XenkoBuildEngineLogVerbose)' != ''">$(XenkoCompileAssetCommandProxy) --verbose</XenkoCompileAssetCommandProxy>
<XenkoCompileAssetCommandProxy Condition="'$(XenkoBuildEngineLogDebug)' != ''">$(XenkoCompileAssetCommandProxy) --debug</XenkoCompileAssetCommandProxy>
</PropertyGroup>
<!-- Ensure the output directory exists -->
<MakeDir Directories="$(TargetDir)"/>
<!-- Compile assets -->
<Exec WorkingDirectory="$(TargetDir)" Command="$(XenkoCompileAssetCommandProxy)" />
<!-- Android specific: include build output in _AndroidAssetsDest so that APK is regenerated -->
<ItemGroup Condition="'$(XenkoPlatform)' == 'Android'">
<_AndroidAssetsDest Include="$(XenkoCompileAssetOutputPath)\**\*.*" />
</ItemGroup>
</Target>
<!-- Clean assets -->
<Target Name="XenkoCleanAsset" Condition="'$(XenkoIsExecutable)' == 'true'">
<RemoveDir Condition="Exists('$(XenkoCompileAssetBuildPath)')" ContinueOnError="true" Directories="$(XenkoCompileAssetBuildPath)"/>
<RemoveDir Condition="Exists('$(XenkoCompileAssetOutputPath)')" ContinueOnError="true" Directories="$(XenkoCompileAssetOutputPath)"/>
</Target>
<!-- Pack target / TODO: More advanced logic by using a Task/exe to move and save all assets/resources properly rather than hardcoded list of folders -->
<Target Name="PrepareXenkoAssetsForPack" BeforeTargets="_GetPackageFiles">
<PackAssets ProjectFile="$(MSBuildProjectFile)" IntermediatePackagePath="$(IntermediateOutputPath)\xenko">
<Output TaskParameter="GeneratedItems" ItemName="None"/>
</PackAssets>
</Target>
</Project>

Просмотреть файл

@ -36,19 +36,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.Private", "00-Ta
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "80-Shaders", "80-Shaders", "{10D145AF-C8AE-428F-A80F-CA1B591D0DB2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.User", "00-Targets.User", "{BB2D1F96-E184-4EE2-8677-3EA5E059E1A6}"
ProjectSection(SolutionItems) = preProject
..\Targets\Xenko.Android.targets = ..\Targets\Xenko.Android.targets
..\Targets\Xenko.Common.targets = ..\Targets\Xenko.Common.targets
..\Targets\Xenko.CoreCLR.targets = ..\Targets\Xenko.CoreCLR.targets
..\Targets\Xenko.iOS.targets = ..\Targets\Xenko.iOS.targets
..\Targets\Xenko.Linux.targets = ..\Targets\Xenko.Linux.targets
..\Targets\Xenko.macOS.targets = ..\Targets\Xenko.macOS.targets
..\Targets\Xenko.targets = ..\Targets\Xenko.targets
..\Targets\Xenko.UWP.targets = ..\Targets\Xenko.UWP.targets
..\Targets\Xenko.Windows.targets = ..\Targets\Xenko.Windows.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Config", "00-Config", "{7662CECF-2A3D-4DBA-AB3D-77FD8536E7A3}"
ProjectSection(SolutionItems) = preProject
..\sources\shared\SharedAssemblyInfo.cs = ..\sources\shared\SharedAssemblyInfo.cs

Просмотреть файл

@ -36,19 +36,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.Private", "00-Ta
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "80-Shaders", "80-Shaders", "{10D145AF-C8AE-428F-A80F-CA1B591D0DB2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.User", "00-Targets.User", "{BB2D1F96-E184-4EE2-8677-3EA5E059E1A6}"
ProjectSection(SolutionItems) = preProject
..\Targets\Xenko.Android.targets = ..\Targets\Xenko.Android.targets
..\Targets\Xenko.Common.targets = ..\Targets\Xenko.Common.targets
..\Targets\Xenko.CoreCLR.targets = ..\Targets\Xenko.CoreCLR.targets
..\Targets\Xenko.iOS.targets = ..\Targets\Xenko.iOS.targets
..\Targets\Xenko.Linux.targets = ..\Targets\Xenko.Linux.targets
..\Targets\Xenko.macOS.targets = ..\Targets\Xenko.macOS.targets
..\Targets\Xenko.targets = ..\Targets\Xenko.targets
..\Targets\Xenko.UWP.targets = ..\Targets\Xenko.UWP.targets
..\Targets\Xenko.Windows.targets = ..\Targets\Xenko.Windows.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Config", "00-Config", "{7662CECF-2A3D-4DBA-AB3D-77FD8536E7A3}"
ProjectSection(SolutionItems) = preProject
..\sources\shared\SharedAssemblyInfo.cs = ..\sources\shared\SharedAssemblyInfo.cs

Просмотреть файл

@ -36,19 +36,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.Private", "00-Ta
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "80-Shaders", "80-Shaders", "{10D145AF-C8AE-428F-A80F-CA1B591D0DB2}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.User", "00-Targets.User", "{BB2D1F96-E184-4EE2-8677-3EA5E059E1A6}"
ProjectSection(SolutionItems) = preProject
..\Targets\Xenko.Android.targets = ..\Targets\Xenko.Android.targets
..\Targets\Xenko.Common.targets = ..\Targets\Xenko.Common.targets
..\Targets\Xenko.CoreCLR.targets = ..\Targets\Xenko.CoreCLR.targets
..\Targets\Xenko.iOS.targets = ..\Targets\Xenko.iOS.targets
..\Targets\Xenko.Linux.targets = ..\Targets\Xenko.Linux.targets
..\Targets\Xenko.macOS.targets = ..\Targets\Xenko.macOS.targets
..\Targets\Xenko.targets = ..\Targets\Xenko.targets
..\Targets\Xenko.UWP.targets = ..\Targets\Xenko.UWP.targets
..\Targets\Xenko.Windows.targets = ..\Targets\Xenko.Windows.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Config", "00-Config", "{7662CECF-2A3D-4DBA-AB3D-77FD8536E7A3}"
ProjectSection(SolutionItems) = preProject
..\sources\shared\SharedAssemblyInfo.cs = ..\sources\shared\SharedAssemblyInfo.cs

Просмотреть файл

@ -53,19 +53,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3D-Importers", "3D-Importer
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "TextureConverter", "TextureConverter", "{4A15BAAD-AA37-4754-A2BF-8D4049211E36}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Targets.User", "00-Targets.User", "{BB2D1F96-E184-4EE2-8677-3EA5E059E1A6}"
ProjectSection(SolutionItems) = preProject
..\Targets\Xenko.Android.targets = ..\Targets\Xenko.Android.targets
..\Targets\Xenko.Common.targets = ..\Targets\Xenko.Common.targets
..\Targets\Xenko.CoreCLR.targets = ..\Targets\Xenko.CoreCLR.targets
..\Targets\Xenko.iOS.targets = ..\Targets\Xenko.iOS.targets
..\Targets\Xenko.Linux.targets = ..\Targets\Xenko.Linux.targets
..\Targets\Xenko.macOS.targets = ..\Targets\Xenko.macOS.targets
..\Targets\Xenko.targets = ..\Targets\Xenko.targets
..\Targets\Xenko.UWP.targets = ..\Targets\Xenko.UWP.targets
..\Targets\Xenko.Windows.targets = ..\Targets\Xenko.Windows.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "00-Config", "00-Config", "{7662CECF-2A3D-4DBA-AB3D-77FD8536E7A3}"
ProjectSection(SolutionItems) = preProject
..\sources\shared\SharedAssemblyInfo.cs = ..\sources\shared\SharedAssemblyInfo.cs