Skip to content

Commit a96142c

Browse files
committed
Add dnx shim project
1 parent 372363c commit a96142c

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

sdk.slnx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
<Project Path="src/Containers/packaging/package.csproj" />
8686
</Folder>
8787
<Folder Name="/src/Layout/">
88+
<Project Path="src/Layout/dnx/dnx.csproj" />
8889
<Project Path="src/Layout/finalizer/finalizer.csproj" />
8990
<Project Path="src/Layout/pkg/dotnet-sdk.proj" Type="C#" />
9091
<Project Path="src/Layout/redist/redist.csproj" />

src/Layout/dnx/dnx.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.

src/Layout/dnx/dnx.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>$(SdkTargetFramework)</TargetFramework>
5+
<OutputType>Exe</OutputType>
6+
<PublishAot>true</PublishAot>
7+
<ControlFlowGuard>Guard</ControlFlowGuard>
8+
<UseSystemResourceKeys>true</UseSystemResourceKeys>
9+
<SatelliteResourceLanguages>en-US</SatelliteResourceLanguages>
10+
<OptimizationPreference>Size</OptimizationPreference>
11+
<StackTraceSupport>false</StackTraceSupport>
12+
<_IsPublishing>true</_IsPublishing>
13+
</PropertyGroup>
14+
15+
<Target Name="PublishOnBuild" AfterTargets="Build" DependsOnTargets="Publish" Condition="'$(PublishAot)' == 'true'" />
16+
17+
</Project>

0 commit comments

Comments
 (0)