With this, we are able to compile assemblies against shipped, stable versions of .NET Core. -->
<PropertyGroup>
<NuGetDeploySourceItem>Reference</NuGetDeploySourceItem>
- <NETCoreAppPackageVersion Condition="'$(TargetFramework)' == 'netcoreapp2.0'">2.0.7</NETCoreAppPackageVersion>
- <NETCoreAppPackageVersion Condition="'$(TargetFramework)' == 'netcoreapp2.1'">2.1.3</NETCoreAppPackageVersion>
- <!-- These needs to be replaced once we have a RTM -->
- <RuntimeFrameworkVersion Condition="'$(TargetFramework)' == 'netcoreapp3.0'">3.0.0-preview7-27912-14</RuntimeFrameworkVersion>
- <DisableImplicitFrameworkReferences Condition="'$(TargetFramework)' == 'netcoreapp3.0'">false</DisableImplicitFrameworkReferences>
+ <DisableImplicitFrameworkReferences>false</DisableImplicitFrameworkReferences>
<BinPlaceRef>true</BinPlaceRef>
</PropertyGroup>
- <ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp3.0'">
- <PackageReference Include="Microsoft.NETCore.App">
- <Version>$(NETCoreAppPackageVersion)</Version>
- </PackageReference>
- </ItemGroup>
-
- <ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
- <KnownFrameworkReference Update="Microsoft.NETCore.App"
- TargetingPackVersion="$(RuntimeFrameworkVersion)"
- />
+ <ItemGroup Condition="$(TargetFramework.StartsWith('netcoreapp2.'))">
+ <PackageReference Update="Microsoft.NETCore.App" IsImplicitlyDefined="false" PrivateAssets="None" />
</ItemGroup>
<ItemGroup>
<!-- for all configurations this project provides refs for that configuration -->
- <BinPlaceConfiguration Include="$(Configuration)">
- <RefPath>$(RefPath)</RefPath>
- </BinPlaceConfiguration>
-
+ <BinPlaceConfiguration Include="$(Configuration)" RefPath="$(RefPath)" />
<FileToExclude Include="System.ComponentModel.Composition" />
</ItemGroup>
</Project>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
<ItemGroup>
<ProjectReference Include="..\ref\System.ComponentModel.Composition.Registration.csproj">
- <SupportedFramework>netcoreapp3.0;net45</SupportedFramework>
+ <SupportedFramework>netcoreapp3.0;net45;$(AllXamarinFrameworks)</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\src\System.ComponentModel.Composition.Registration.csproj" />
<InboxOnTargetFramework Include="net45">
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
<ItemGroup>
<ProjectReference Include="..\ref\System.Reflection.Emit.csproj">
- <SupportedFramework>netcoreapp2.1;uap10.0.16299</SupportedFramework>
+ <SupportedFramework>netcoreapp2.1;uap10.0.16299;$(AllXamarinFrameworks)</SupportedFramework>
</ProjectReference>
<ProjectReference Include="..\src\System.Reflection.Emit.csproj" />
<HarvestIncludePaths Include="ref/netstandard1.1" >
- <SupportedFramework>net45;netcoreapp1.0;netcore45;wpa81;$(AllXamarinFrameworks)</SupportedFramework>
+ <SupportedFramework>net45;netcoreapp1.0;netcore45;wpa81</SupportedFramework>
</HarvestIncludePaths>
<HarvestIncludePaths Include="lib/netcore50" />
<HarvestIncludePaths Include="lib/netstandard1.3" />
- <InboxOnTargetFramework Include="monoandroid10;xamarinmac20" />
+ <InboxOnTargetFramework Include="$(AllXamarinFrameworks)" />
<InboxOnTargetFramework Include="netcoreapp2.0" />
<InboxOnTargetFramework Include="netstandard2.1" />
<InboxOnTargetFramework Include="net45" />