-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cross-compile RemoteExecutor (#2402)
* Cross compile RemoteExecutor * Remove host dependency for NS2.0 * Move RemoteExecutorHost to tools dir * Upgrade to netcorapp2.1
- Loading branch information
1 parent
77298cf
commit 6a34948
Showing
6 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...xecutor/src/Microsoft.DotNet.RemoteExecutor/build/Microsoft.DotNet.RemoteExecutor.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. --> | ||
<Project> | ||
<ItemGroup> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\tools\net472\*" Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'" CopyToOutputDirectory="PreserveNewest" /> | ||
<Content Include="$(MSBuildThisFileDirectory)\..\tools\netcoreapp2.1\*" Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'" CopyToOutputDirectory="PreserveNewest" /> | ||
</ItemGroup> | ||
</Project> |
13 changes: 1 addition & 12 deletions
13
...ecutor/src/Microsoft.DotNet.RemoteExecutorHost/Microsoft.DotNet.RemoteExecutorHost.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,10 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<!-- | ||
We generate a netstandard executable image which will be invoked by Microsoft.DotNet.RemoteExecutor. | ||
The SDK defaults to TargetExt dll, nevertheless CreateProcess invokes that assembly directly | ||
on .NET Framework, or with the dotnet host on .NET Core. | ||
--> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<TargetFrameworks>netcoreapp2.1;net472</TargetFrameworks> | ||
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Microsoft.DotNet.RemoteExecutorHost.runtimeconfig.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
10 changes: 0 additions & 10 deletions
10
...icrosoft.DotNet.RemoteExecutorHost/Microsoft.DotNet.RemoteExecutorHost.runtimeconfig.json
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...DotNet.RemoteExecutor/src/Microsoft.DotNet.RemoteExecutorHost/runtimeconfig.template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"rollForwardOnNoCandidateFx": 2 | ||
} |