-
- <!-- Packaging properties -->
- <PropertyGroup>
- <LicenseUrl>https://github.com/dotnet/coreclr/blob/master/LICENSE.TXT</LicenseUrl>
- <PackageDescriptionFile>$(SourceDir).nuget/descriptions.json</PackageDescriptionFile>
- <PackageLicenseFile>$(ProjectDir)LICENSE.TXT</PackageLicenseFile>
- <PackageThirdPartyNoticesFile>$(ProjectDir)THIRD-PARTY-NOTICES.TXT</PackageThirdPartyNoticesFile>
- <SyncInfoDirectory>$(BaseIntermediateOutputPath)</SyncInfoDirectory>
-
- <!-- If true, indicates that this is not an officially supported release -->
- <!-- It is important to flip this to false in official release branches -->
- <!-- Keep it in sync with PRERELEASE in clrdefinitions.cmake -->
- <IsPrerelease>true</IsPrerelease>
-
- <!-- This should be kept in sync with package details in src/.nuget/init/project.json -->
- <RuntimeIdGraphDefinitionVersion>1.0.2-beta-24224-02</RuntimeIdGraphDefinitionVersion>
- <RuntimeIdGraphDefinitionFile>$(PackagesDir)/microsoft.netcore.platforms/$(RuntimeIdGraphDefinitionVersion)/runtime.json</RuntimeIdGraphDefinitionFile>
-
- <!-- This link should be updated for each release milestone, currently this points to 1.1.0-beta -->
- <ReleaseNotes>https://go.microsoft.com/fwlink/?LinkID=799421</ReleaseNotes>
-
- <ProjectUrl>https://dot.net</ProjectUrl>
-
- <!-- On Windows, MSbuild can still run against Desktop FX while it runs on .NET Core on non-Windows. this requires
- pulling in different packaging dependencies.
- -->
- <PackagingTaskDir Condition="'$(MSBuildRuntimeType)' != 'core'">$(ToolsDir)net46/</PackagingTaskDir>
- <!-- defined in buildtools packaging.targets, but we need this before targets are imported -->
- <PackagePlatform Condition="'$(PackagePlatform)' == ''">$(Platform)</PackagePlatform>
- <PackagePlatform Condition="'$(PackagePlatform)' == 'amd64'">x64</PackagePlatform>
- <MinOSForArch>win7</MinOSForArch>
- <MinOSForArch Condition="'$(PackagePlatform)' == 'arm'">win8</MinOSForArch>
- <MinOSForArch Condition="'$(PackagePlatform)' == 'arm64'">win10</MinOSForArch>
- <!-- This property must be set to disable local package installation -->
- <SkipInstallLocallyBuiltPackages>true</SkipInstallLocallyBuiltPackages>
-
- <!-- Define packaging attributes for cross target components -->
- <HasCrossTargetComponents Condition="'$(TargetsWindows)' == 'true' and ('$(PackagePlatform)' =='arm64' or '$(PackagePlatform)' =='arm')">true</HasCrossTargetComponents>
- <HasCrossTargetComponents Condition="'$(TargetsLinux)' == 'true' and ('$(PackagePlatform)' =='arm64' or '$(PackagePlatform)' =='arm') and '$(__DoCrossArchBuild)' == '1'">true</HasCrossTargetComponents>
- <CrossTargetComponentFolder Condition="'$(PackagePlatform)' == 'arm64'">x64</CrossTargetComponentFolder>
- <CrossTargetComponentFolder Condition="'$(PackagePlatform)' == 'arm' and '$(TargetsWindows)' == 'true'">x86</CrossTargetComponentFolder>
- <CrossTargetComponentFolder Condition="'$(PackagePlatform)' == 'arm' and '$(TargetsLinux)' == 'true'">x64</CrossTargetComponentFolder>
-
- <PackageOutputPath Condition="'$(PackageOutputPath)' == ''">$(PackagesBinDir)/pkg/</PackageOutputPath>
- <SymbolPackageOutputPath Condition="'$(SymbolPackageOutputPath)' == ''">$(PackagesBinDir)/symbolpkg/</SymbolPackageOutputPath>
- <PackageIndexFile>$(MSBuildThisFileDirectory)/src/.nuget/packageIndex.json</PackageIndexFile>
-
- <!-- coreclr doesn't currently use the index so don't force it to be in sync -->
- <SkipIndexCheck>true</SkipIndexCheck>
- </PropertyGroup>
-
- <!-- Add required legal files to packages -->
- <ItemGroup Condition="'$(MSBuildProjectExtension)' == '.pkgproj'">
- <File Condition="Exists('$(PackageLicenseFile)')"
- Include="$(PackageLicenseFile)" >
- <SkipPackageFileCheck>true</SkipPackageFileCheck>
- </File>
- <File Condition="Exists('$(PackageThirdPartyNoticesFile)')"
- Include="$(PackageThirdPartyNoticesFile)" >
- <SkipPackageFileCheck>true</SkipPackageFileCheck>
- </File>
- <PackageIndex Include="$(PackageIndexFile)" />
- </ItemGroup>
-
- <!-- Use Roslyn Compilers to build -->
- <Import Project="$(RoslynPropsFile)" Condition="Exists('$(RoslynPropsFile)')" />