Skip to content
Permalink
Browse files

[Build] Remove GetSolutionConfigurationContents hack (which was neces…

…sary for WinStore/WinPhone port) (this allows command line build for Android/iOS #543)
  • Loading branch information
xen2 committed Oct 30, 2019
1 parent d1cb7a5 commit 12094ae9a1e72fcf09bca3e8b121159426cb9d66
Showing with 1 addition and 14 deletions.
  1. +1 −14 sources/core/Xenko.Core/build/Xenko.Core.targets
@@ -1,17 +1,4 @@
<Project InitialTargets="XenkoCheckRequirements;_XenkoCheckVisualCRuntime2015" 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>
<Project InitialTargets="_XenkoCheckVisualCRuntime2015" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Check if Visual C++ Runtime 2015 is properly installed -->
<Target Name="_XenkoCheckVisualCRuntime2015" Condition="'$(MSBuildRuntimeType)' == 'Full'">
<ItemGroup>

0 comments on commit 12094ae

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