Skip to content

Commit

Permalink
Improve Linux build (#5964)
Browse files Browse the repository at this point in the history
This is attempt to compile project on Linux. Not all things are rosy, and vcxproj are not compiling.

- Add execute permissions for build.sh

-Add dummy .sh files for downloading native tools

Fix places where canse sensetivity hurt build
  • Loading branch information
kant2002 authored Feb 15, 2022
1 parent 9789562 commit 4ab5796
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 6 deletions.
Empty file modified build.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion eng/WpfArcadeSdk/Sdk/Sdk.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<PropertyGroup>
<WpfArcadeSdkRoot>$([System.IO.Directory]::GetParent("$(MSBuildThisFileDirectory.TrimEnd('\'))"))\</WpfArcadeSdkRoot>
<WpfArcadeSdkRoot>$([System.IO.Directory]::GetParent("$(MSBuildThisFileDirectory.TrimEnd('\').TrimEnd('/'))"))\</WpfArcadeSdkRoot>
<WpfArcadeSdkToolsDir>$(WpfArcadeSdkRoot)tools\</WpfArcadeSdkToolsDir>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion eng/WpfArcadeSdk/Sdk/Sdk.targets
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<Import Project="$(NoTargetsTargets)" Condition="'$(NoTargets)'=='true'"/>
<Import Project="$(WpfArcadeSdkToolsDir)TestProjects.targets" />
<Import Project="$(WpfArcadeSdkToolsDir)CreateTestPayload.targets" Condition="'$(CreateTestPayload)'=='true'"/>
<Import Project="$(WpfArcadeSdkToolsDir)GenAPI.targets"/>
<Import Project="$(WpfArcadeSdkToolsDir)GenApi.targets"/>

<!-- PresentationBuildTasks related targets files -->
<Import Project="$(WpfArcadeSdkToolsDir)Pbt.targets" Condition="'$(InternalMarkupCompilation)'=='true'"/>
Expand Down
2 changes: 2 additions & 0 deletions eng/common/native/install-dotnet-api-docs_net5.0.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
# this file intentionally left empty to please build on Linux
2 changes: 2 additions & 0 deletions eng/common/native/install-net-framework-48-ref-assemblies.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
# this file intentionally left empty to please build on Linux
2 changes: 2 additions & 0 deletions eng/common/native/install-strawberry-perl.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
# this file intentionally left empty to please build on Linux
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.SDK">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>PresentationCore</AssemblyName>
<PackageId>PresentationCore-ref</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.SDK">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>PresentationFramework</AssemblyName>
<PackageId>PresentationFramework-ref</PackageId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.SDK">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ProjectGuid>{9AC36357-34B7-40A1-95CA-FE9F46D089A7}</ProjectGuid>
<AssemblyName>System.Xaml</AssemblyName>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.SDK">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AssemblyName>System.Xaml</AssemblyName>
<PackageId>System.Xaml-ref</PackageId>
Expand Down

0 comments on commit 4ab5796

Please sign in to comment.