Skip to content

Commit 7d67fb9

Browse files
committed
add withcorert option
1 parent fbd9005 commit 7d67fb9

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

azure-pipelines.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ stages:
7272
nugetConfigPath: "nuget.config"
7373
command: "custom"
7474
custom: "publish"
75-
arguments: "-c Release -r $(rid) -p:PackAsTool=false"
75+
arguments: "-c Release -r $(rid) -p:PackAsTool=false -p:WithCoreRT=true"
7676
projects: "dotnet-ansible-vault-decoder/dotnet-ansible-vault-decoder.csproj"
7777
publishWebProjects: false
7878
- task: CopyFiles@2

dotnet-ansible-vault-decoder/dotnet-ansible-vault-decoder.csproj

+5-6
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,17 @@
1515
<Authors>itn3000</Authors>
1616
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1717
</PropertyGroup>
18-
<PropertyGroup Condition="'$(EnableCoreRT)' != 'true'">
19-
<!-- <NativeCompilationDuringPublish>false</NativeCompilationDuringPublish> -->
20-
</PropertyGroup>
2118

2219
<ItemGroup>
2320
<PackageReference Include="McMaster.Extensions.CommandlineUtils" Version="2.3.4" />
2421
<PackageReference Include="Portable.BouncyCastle" Version="1.8.5" />
2522
<PackageReference Include="System.Memory" Version="4.5.3" />
26-
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" PrivateAssets="All"/>
23+
</ItemGroup>
24+
<ItemGroup Condition="'$(WithCoreRT)' == 'true'">
25+
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="1.0.0-alpha-*" PrivateAssets="All" />
2726
</ItemGroup>
2827
<ItemGroup>
29-
<RdXmlFile Include="rd.xml"/>
28+
<RdXmlFile Include="rd.xml" />
3029
</ItemGroup>
3130

32-
</Project>
31+
</Project>

0 commit comments

Comments
 (0)