7d7f676260
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
21 lines
1.4 KiB
XML
21 lines
1.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
|
<!-- Setting NETCoreAppMaximumVersion to a high version so that the sdk doesn't complain if we're restoring/publishing for a higher version than the sdk. -->
|
|
<NETCoreAppMaximumVersion>99.9</NETCoreAppMaximumVersion>
|
|
<PackageConflictPreferredPackages Condition="'$(TargetFramework)' != 'netcoreapp2.0'">Microsoft.Private.CoreFx.NETCoreApp;runtime.$(RID).Microsoft.Private.CoreFx.NETCoreApp;$(PackageConflictPreferredPackages)</PackageConflictPreferredPackages>
|
|
<DisableImplicitFrameworkReferences Condition="$(TargetFramework.Contains('netcoreapp'))">true</DisableImplicitFrameworkReferences>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Windows.Compatibility" Version="$(CompatibilityPackageVersion)" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)' != 'netcoreapp2.0'">
|
|
<PackageReference Include="Microsoft.Private.CoreFx.NETCoreApp" Version="$(PrivateCorefxPackageVersion)" />
|
|
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.1.0-*" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netcoreapp2.0'">
|
|
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
|
|
<PackageReference Include="Microsoft.NETCore.App" Version="2.0.0" />
|
|
</ItemGroup>
|
|
</Project> |