</ItemGroup>
</Target>
+ <!-- Used for packaging -->
+ <Target Name="IsNotNetCoreAppProject" Returns="@(IsNotNetCoreAppProjectResult)">
+ <ItemGroup>
+ <IsNotNetCoreAppProjectResult Condition="'$(IsNetCoreApp)' != 'true'" Include="$(MSBuildProjectName)" Version="$(PackageVersion)" />
+ </ItemGroup>
+ </Target>
+
<!-- Routing dotnet test to a test project's BuildAndTest target. -->
<Target Name="VSTest"
Condition="'$(IsTestProject)' == 'true' and '$(IsTestSupportProject)' != 'true'"
--- /dev/null
+<Project DefaultTargets="Build">
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />
+
+ <!-- only build during the AllConfigurations leg because it depends on other nupkgs from this leg -->
+ <ItemGroup Condition="'$(BuildAllConfigurations)' == 'true'">
+ <Project Include="$(MSBuildProjectName).pkgproj" />
+ </ItemGroup>
+
+ <Import Project="$([MSBuild]::GetPathOfFileAbove(dir.traversal.targets))" />
+</Project>
\ No newline at end of file
--- /dev/null
+<Project DefaultTargets="Build" InitialTargets="FindNetCoreAppPackages">
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
+ <PropertyGroup>
+ <!-- We use the PackageVersion property defined in Packaging.props for the Prerelease packages which are using it to be built -->
+ <_PreReleasePackageVersion>$(PackageVersion)</_PreReleasePackageVersion>
+ <!-- We don't need to harvest the stable packages to build this -->
+ <HarvestStablePackage>false</HarvestStablePackage>
+ </PropertyGroup>
+
+ <Target Name="FindNetCoreAppPackages">
+
+ <ItemGroup>
+ <PkgProjGlobPath Include="$(SourceDir)/**/*.pkgproj" />
+ </ItemGroup>
+
+ <MSBuild Projects="@(PkgProjGlobPath)"
+ Targets="IsNotNetCoreAppProject"
+ BuildInParallel="true">
+ <Output TaskParameter="TargetOutputs" ItemName="PrereleaseLibraryPackage" />
+ </MSBuild>
+
+ <ItemGroup>
+ <Dependency Include="@(PrereleaseLibraryPackage)"
+ Condition="!$([System.String]::new('%(Identity)').Contains('Private')) and !$([System.String]::new('%(Identity)').EndsWith('Experimental')) and !$([System.String]::new('%(Identity)').StartsWith('runtime.'))" />
+ </ItemGroup>
+
+ </Target>
+
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
+</Project>
"Microsoft.Private.CoreFx.NETCoreApp": {
"InboxOn": {}
},
+ "Microsoft.Private.CoreFx.OOB": {
+ "InboxOn": {}
+ },
"Microsoft.Private.PackageBaseline": {
"InboxOn": {}
},
"CommonTypes": []
},
{
+ "Name": "Microsoft.Private.CoreFx.OOB",
+ "Description": "Package used to represent out-of-band packages that are not included in NetCoreApp.",
+ "CommonTypes": []
+ },
+ {
"Name": "Microsoft.Private.CoreFx.UAP",
"Description": "Package used to represent the portions of UAP that come from CoreFx.",
"CommonTypes": []