Skip to content

Commit 33d97bb

Browse files
committed
Ensure ANCMSymbols are produced for x86
1 parent 36c8806 commit 33d97bb

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project>
2+
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
23
<Import Project="..\..\build\assets.props" />
34

45
<PropertyGroup>
56
<TargetFramework>netcoreapp3.0</TargetFramework>
7+
<PackageId>$(MSBuildProjectName).$(TargetRuntimeIdentifier)</PackageId>
68
<IncludeBuildOutput>true</IncludeBuildOutput>
79
<IsPackable>$(PackNativeAssets)</IsPackable>
810
<IsShippingPackage>false</IsShippingPackage>
911
<BuildOutputTargetFolder>runtimes/$(TargetRuntimeIdentifier)/native/</BuildOutputTargetFolder>
12+
<RuntimeIdentifier>$(TargetRuntimeIdentifier)</RuntimeIdentifier>
13+
<DebugType>none</DebugType>
14+
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
15+
<GenerateDocumentationFile>false</GenerateDocumentationFile>
16+
<HasReferenceAssembly>false</HasReferenceAssembly>
1017
<TargetsForTfmSpecificBuildOutput>
1118
$(TargetsForTfmSpecificBuildOutput);
1219
AddPackNativeComponents
1320
</TargetsForTfmSpecificBuildOutput>
14-
<PackageId>$(MSBuildProjectName).$(TargetRuntimeIdentifier)</PackageId>
1521
</PropertyGroup>
1622

1723
<ItemGroup Condition="'$(BuildIisNativeProjects)' == 'true' AND '$(VCTargetsPath)' != ''">
@@ -22,16 +28,17 @@
2228
<Target Name="AddPackNativeComponents" AfterTargets="_CalculateInputsOutputsForPack" Condition="'$(BuildIisNativeProjects)' == 'true' AND '$(PackNativeAssets)' == 'true'">
2329
<ItemGroup>
2430
<!-- RunShimComponents is based on the current runtime (NativePlatform) which should be the same as TargetRuntimeIdentifier -->
25-
<BuiltProjectOutputGroupOutput Remove="@(BuiltProjectOutputGroupOutput)" />
26-
<DebugSymbolsProjectOutputGroupOutput Remove="@(DebugSymbolsProjectOutputGroupOutput)" />
2731
<BuiltProjectOutputGroupOutput Include="%(RunShimComponents.DllLocation)" />
2832
<BuiltProjectOutputGroupOutput Include="%(RunShimComponents.PdbLocation)" />
29-
33+
3034
<NuGetPackInput Include="@(BuiltProjectOutputGroupOutput)" />
3135
</ItemGroup>
3236
</Target>
37+
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
3338

3439
<!-- This project does not produce a binary. Disable the compiler. -->
35-
<Target Name="Compile" />
36-
<Target Name="CopyFilesToOutputDirectory" />
40+
<Target Name="CoreCompile" />
41+
<ItemGroup>
42+
<BuiltProjectOutputGroupKeyOutput Remove="@(BuiltProjectOutputGroupKeyOutput)" />
43+
</ItemGroup>
3744
</Project>

src/Servers/IIS/AspNetCoreModuleV2/ref/Microsoft.AspNetCore.ANCMSymbols.csproj

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/Servers/IIS/AspNetCoreModuleV2/ref/Microsoft.AspNetCore.ANCMSymbols.netcoreapp3.0.cs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)