Skip to content
Permalink
Browse files

[Build] Removed XenkoDir environment variable

  • Loading branch information
xen2 committed Nov 9, 2018
1 parent e7084d5 commit b7fc19edab35ea9a479c681684fa9d48d44fd6c0
Showing with 49 additions and 191 deletions.
  1. +3 −4 README.md
  2. +0 −4 build/LaunchAndroidSolution.bat
  3. +0 −5 build/LaunchWindowsSolution.bat
  4. +0 −4 build/LaunchiOSSolution.bat
  5. +3 −3 build/XenkoSamples.build
  6. +0 −2 samples/OpenSolution.bat
  7. +0 −2 samples/Tests/OpenSolution.bat
  8. +1 −1 sources/engine/Xenko.Assets.Tests/Xenko.Assets.Tests.csproj
  9. +1 −1 sources/engine/Xenko.Assets.Tests2/Xenko.Assets.Tests2.csproj
  10. +1 −6 sources/engine/Xenko.Audio.Tests/Xenko.Audio.Tests.Android.csproj
  11. +1 −2 sources/engine/Xenko.Audio.Tests/Xenko.Audio.Tests.Windows.csproj
  12. +1 −6 sources/engine/Xenko.Audio.Tests/Xenko.Audio.Tests.iOS.csproj
  13. +1 −6 sources/engine/Xenko.Engine.Tests/Xenko.Engine.Tests.Android.csproj
  14. +1 −2 sources/engine/Xenko.Engine.Tests/Xenko.Engine.Tests.Windows.csproj
  15. +1 −6 sources/engine/Xenko.Engine.Tests/Xenko.Engine.Tests.iOS.csproj
  16. +1 −6 sources/engine/Xenko.Graphics.Tests.10_0/Xenko.Graphics.Tests.10_0.Android.csproj
  17. +2 −2 sources/engine/Xenko.Graphics.Tests.10_0/Xenko.Graphics.Tests.10_0.Windows.csproj
  18. +1 −6 sources/engine/Xenko.Graphics.Tests.10_0/Xenko.Graphics.Tests.10_0.iOS.csproj
  19. +1 −6 sources/engine/Xenko.Graphics.Tests.11_0/Xenko.Graphics.Tests.11_0.Android.csproj
  20. +2 −2 sources/engine/Xenko.Graphics.Tests.11_0/Xenko.Graphics.Tests.11_0.Windows.csproj
  21. +1 −6 sources/engine/Xenko.Graphics.Tests.11_0/Xenko.Graphics.Tests.11_0.iOS.csproj
  22. +1 −6 sources/engine/Xenko.Graphics.Tests/Xenko.Graphics.Tests.Android.csproj
  23. +1 −1 sources/engine/Xenko.Graphics.Tests/Xenko.Graphics.Tests.Windows.csproj
  24. +1 −6 sources/engine/Xenko.Graphics.Tests/Xenko.Graphics.Tests.iOS.csproj
  25. +1 −6 sources/engine/Xenko.Input.Tests/Xenko.Input.Tests.Android.csproj
  26. +1 −2 sources/engine/Xenko.Input.Tests/Xenko.Input.Tests.Windows.csproj
  27. +1 −6 sources/engine/Xenko.Input.Tests/Xenko.Input.Tests.iOS.csproj
  28. +1 −1 sources/engine/Xenko.Navigation.Tests/Xenko.Navigation.Tests.Windows.csproj
  29. +0 −11 sources/engine/Xenko.Particles.Tests/GameTest.cs
  30. +1 −6 sources/engine/Xenko.Particles.Tests/Xenko.Particles.Tests.Android.csproj
  31. +1 −1 sources/engine/Xenko.Particles.Tests/Xenko.Particles.Tests.Windows.csproj
  32. +1 −6 sources/engine/Xenko.Particles.Tests/Xenko.Particles.Tests.iOS.csproj
  33. +2 −4 sources/engine/Xenko.Physics.Tests/GameTest.cs
  34. +1 −6 sources/engine/Xenko.Physics.Tests/Xenko.Physics.Tests.Android.csproj
  35. +1 −1 sources/engine/Xenko.Physics.Tests/Xenko.Physics.Tests.Windows.csproj
  36. +1 −6 sources/engine/Xenko.Physics.Tests/Xenko.Physics.Tests.iOS.csproj
  37. +1 −1 sources/engine/Xenko.Shaders.Tests/Xenko.Shaders.Tests.Windows.csproj
  38. +1 −6 sources/engine/Xenko.UI.Tests/Xenko.UI.Tests.Android.csproj
  39. +1 −1 sources/engine/Xenko.UI.Tests/Xenko.UI.Tests.Windows.csproj
  40. +1 −6 sources/engine/Xenko.UI.Tests/Xenko.UI.Tests.iOS.csproj
  41. +0 −4 sources/launcher/Setup/setup.aip
  42. +1 −1 sources/launcher/Xenko.Launcher/Launcher.cs
  43. +1 −5 sources/targets/Xenko.PreSettings.UnitTests.targets
  44. +3 −8 sources/tools/Xenko.ConnectionRouter/IOSTracker.cs
  45. +1 −1 sources/tools/Xenko.ConnectionRouter/Program.cs
  46. +0 −1 sources/tools/Xenko.ProjectGenerator/Templates/Xenko.UnitTests/$ProjectName$.csproj.t4
  47. +2 −3 sources/tools/Xenko.SamplesTestServer/SamplesTestServer.cs
  48. +0 −3 sources/tools/Xenko.VisualStudio.Package.Tests/IntegrationTests.cs
@@ -52,10 +52,9 @@ Ask for help or report issues:
### Build Xenko

1. Clone Xenko: `git clone https://github.com/xenko3d/xenko.git`
2. Set *XenkoDir* environment variable to point to your `<XenkoDir>`
3. Open `<XenkoDir>\build\Xenko.sln` with Visual Studio 2017, and build.
4. Open `<XenkoDir>\samples\XenkoSamples.sln` and play with the samples.
5. Optionally, open and build `Xenko.Android.sln`, `Xenko.iOS.sln`, etc...
2. Open `<XenkoDir>\build\Xenko.sln` with Visual Studio 2017, and build.
3. Open `<XenkoDir>\samples\XenkoSamples.sln` and play with the samples.
4. Optionally, open and build `Xenko.Android.sln`, `Xenko.iOS.sln`, etc...

### Contribution Guidelines

This file was deleted.

This file was deleted.

This file was deleted.

@@ -61,9 +61,9 @@
</Target>

<Target Name="BuildTests">
<MSBuild Condition="'$(PlatformToBuild)' == 'Windows'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE;XenkoDir=$(XenkoRoot)" Targets="Rebuild" />
<MSBuild Condition="'$(PlatformToBuild)' == 'Android'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE%3BTEST_ANDROID;XenkoDir=$(XenkoRoot)" Targets="Rebuild" />
<MSBuild Condition="'$(PlatformToBuild)' == 'iOS'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE%3BTEST_IOS;XenkoDir=$(XenkoRoot)" Targets="Rebuild" />
<MSBuild Condition="'$(PlatformToBuild)' == 'Windows'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE" Targets="Rebuild" />
<MSBuild Condition="'$(PlatformToBuild)' == 'Android'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE%3BTEST_ANDROID" Targets="Rebuild" />
<MSBuild Condition="'$(PlatformToBuild)' == 'iOS'" Projects="$(XenkoRoot)samples\Tests\Tests.sln" Properties="DefineConstants=TRACE%3BTEST_IOS" Targets="Rebuild" />
</Target>

<Target Name="NugetExtractFix">

This file was deleted.

This file was deleted.

@@ -235,5 +235,5 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -53,5 +53,5 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -28,7 +28,6 @@
<XenkoPlatform>Android</XenkoPlatform>
<XenkoBuildProfile>Android</XenkoBuildProfile>
<XenkoPackageGuid>{637e7e88-bc09-4ddd-95eb-00114fd32e5e}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -244,11 +243,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -12,7 +12,6 @@
<XenkoPlatform>Windows</XenkoPlatform>
<XenkoBuildProfile>Windows</XenkoBuildProfile>
<XenkoPackageGuid>{637e7e88-bc09-4ddd-95eb-00114fd32e5e}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">Direct3D11</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -190,5 +189,5 @@
</ItemGroup>
<Import Project="..\Xenko.Shared\Refactor\Xenko.Refactor.projitems" Label="Shared" />
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -18,7 +18,6 @@
<XenkoPlatform>iOS</XenkoPlatform>
<XenkoBuildProfile>iOS</XenkoBuildProfile>
<XenkoPackageGuid>{637e7e88-bc09-4ddd-95eb-00114fd32e5e}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -262,11 +261,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -32,7 +32,6 @@
<XenkoPlatform>Android</XenkoPlatform>
<XenkoBuildProfile>Android</XenkoBuildProfile>
<XenkoPackageGuid>{c6c57562-42df-42ad-be2d-8d5889211366}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -263,11 +262,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -12,7 +12,6 @@
<XenkoPlatform>Windows</XenkoPlatform>
<XenkoBuildProfile>Windows</XenkoBuildProfile>
<XenkoPackageGuid>{c6c57562-42df-42ad-be2d-8d5889211366}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">Direct3D11</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -112,5 +111,5 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -21,7 +21,6 @@
<XenkoPlatform>iOS</XenkoPlatform>
<XenkoBuildProfile>iOS</XenkoBuildProfile>
<XenkoPackageGuid>{c6c57562-42df-42ad-be2d-8d5889211366}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
<!-- Force msbuild to check to rebuild this assembly instead of letting VS IDE guess -->
@@ -288,11 +287,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -29,7 +29,6 @@
<XenkoPlatform>Android</XenkoPlatform>
<XenkoBuildProfile>Android</XenkoBuildProfile>
<XenkoPackageGuid>{04ed1618-1a06-4a69-ac34-1006a978af11}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoAssemblySign>true</XenkoAssemblySign>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
@@ -200,11 +199,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -1,4 +1,4 @@
<Project>
<Project>
<Import Project="..\..\targets\Xenko.PreSettings.UnitTests.targets" />
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<PropertyGroup>
@@ -69,5 +69,5 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -18,7 +18,6 @@
<XenkoPlatform>iOS</XenkoPlatform>
<XenkoBuildProfile>iOS</XenkoBuildProfile>
<XenkoPackageGuid>{04ed1618-1a06-4a69-ac34-1006a978af11}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoAssemblySign>true</XenkoAssemblySign>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
@@ -242,11 +241,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -29,7 +29,6 @@
<XenkoPlatform>Android</XenkoPlatform>
<XenkoBuildProfile>Android</XenkoBuildProfile>
<XenkoPackageGuid>{04ed1618-1a06-4a69-ac34-1006a978af11}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoAssemblySign>true</XenkoAssemblySign>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
@@ -224,11 +223,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -1,4 +1,4 @@
<Project>
<Project>
<Import Project="..\..\targets\Xenko.PreSettings.UnitTests.targets" />
<Import Project="Sdk.props" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<PropertyGroup>
@@ -89,5 +89,5 @@
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="MSBuild.Sdk.Extras" Version="1.6.55" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" />
<Import Project="..\..\targets\Xenko.UnitTests.targets" />
</Project>
@@ -18,7 +18,6 @@
<XenkoPlatform>iOS</XenkoPlatform>
<XenkoBuildProfile>iOS</XenkoBuildProfile>
<XenkoPackageGuid>{04ed1618-1a06-4a69-ac34-1006a978af11}</XenkoPackageGuid>
<XenkoDir>$(MSBuildThisFileDirectory)..\..\..</XenkoDir>
<XenkoAssemblySign>true</XenkoAssemblySign>
<XenkoGraphicsApi Condition="'$(XenkoGraphicsApi)' == ''">OpenGLES</XenkoGraphicsApi>
<XenkoOutputFolder>Tests\$(XenkoGraphicsApi)\$(AssemblyName)</XenkoOutputFolder>
@@ -269,11 +268,7 @@
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Import Project="$(XenkoPackageProps)" Condition="Exists('$(XenkoPackageProps)')" />
<Import Project="$(XenkoDir)\sources\targets\Xenko.UnitTests.targets" Condition="Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" />
<Target Name="EnsureXenkoInstalled" BeforeTargets="PrepareForBuild">
<Error Condition="'$(XenkoDir)' == ''" Text="Xenko SDK was not found. Check Xenko is installed and the global env variable [XenkoDir] is setup correctly" />
<Error Condition="!Exists('$(XenkoDir)\sources\targets\Xenko.UnitTests.targets')" Text="Invalid Xenko SDK installation. Target file [$(XenkoDir)\sources\targets\Xenko.UnitTests.targets] was not found." />
</Target>
<Import Project="..\..\targets\Xenko.UnitTests.targets" Condition="Exists('..\..\targets\Xenko.UnitTests.targets')" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

0 comments on commit b7fc19e

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