Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions eng/targetingpacks.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
<TargetingpacksTargetsImported>true</TargetingpacksTargetsImported>
</PropertyGroup>

<PropertyGroup Condition="'$(DisableImplicitFrameworkReferences)' != 'true' and
'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and
'$(TargetFrameworkVersion)' == 'v$(NetCoreAppCurrentVersion)'">
<PropertyGroup Condition="('$(DisableImplicitFrameworkReferences)' != 'true' and
'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and
'$(TargetFrameworkVersion)' == 'v$(NetCoreAppCurrentVersion)')
or '$(UseBootstrapLayout)' == 'true'">
<UseLocalTargetingRuntimePack Condition="'$(UseLocalTargetingRuntimePack)' == ''">true</UseLocalTargetingRuntimePack>
</PropertyGroup>

Expand Down
7 changes: 4 additions & 3 deletions src/native/managed/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<Project>
<Import Project="..\..\..\Directory.Build.props" />
<Import Project=".\native-library.props" Condition="'$(IsSourceProject)' == 'true' and '$(Language)' == 'C#'" />
<PropertyGroup>

<PropertyGroup Condition="'$(UseBootstrapLayout)' == 'true'">
<UseLocalTargetingRuntimePack>true</UseLocalTargetingRuntimePack>
<UseBootstrapLayout Condition="'$(NeedsAotPublish)' == 'true' and '$(UseBootstrap)' == 'true'">true</UseBootstrapLayout>
</PropertyGroup>

<Import Project=".\native-library.props" Condition="'$(NeedsAotPublish)' == 'true'" />
</Project>
2 changes: 1 addition & 1 deletion src/native/managed/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<Import Project=".\native-library.targets" Condition="'$(IsSourceProject)' == 'true' and '$(Language)' == 'C#'" />
<Import Project=".\native-library.targets" Condition="'$(NeedsAotPublish)' == 'true'" />
<Import Project="..\..\..\Directory.Build.targets" />
<Import Project="$(RepositoryEngineeringDir)targetingpacks.targets" Condition="'$(UseBootstrapLayout)' == 'true'" />
<Import Project="$(RepositoryEngineeringDir)liveILLink.targets" Condition="'$(UseBootstrapLayout)' == 'true'" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project>
<PropertyGroup>
<NeedsAotPublish>true</NeedsAotPublish>
</PropertyGroup>

<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" />
<PropertyGroup>
<AssemblyName>$(LibPrefix)$(MSBuildProjectName)</AssemblyName>
<TargetFramework>$(NetCoreAppToolCurrent)</TargetFramework>
Expand Down Expand Up @@ -32,4 +36,5 @@
<ProjectReference Include="..\Microsoft.Diagnostics.DataContractReader.Legacy\Microsoft.Diagnostics.DataContractReader.Legacy.csproj" />
</ItemGroup>

<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>
1 change: 0 additions & 1 deletion src/native/managed/subproject.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<SubprojectProps Include="RuntimeConfiguration" Value="$(RuntimeConfiguration)" />
<SubprojectProps Include="LibrariesConfiguration" Value="$(LibrariesConfiguration)" />
<SubprojectProps Include="RuntimeIdentifier" Value="$(PortableTargetRid)" />
<SubprojectProps Include="UseBootstrapLayout" Value="$(UseBootstrap)" />
</ItemGroup>

<PropertyGroup>
Expand Down
Loading