<DnuRestoreCommand>$(DnuRestoreCommand) --packages "$(PackagesDir.TrimEnd('\\'))"</DnuRestoreCommand>
</PropertyGroup>
- <!-- Setup Nuget properties -->
- <ItemGroup>
- <NuSpecSrcs Include="$(SourceDir)\.nuget\toolchain.win7-x64.Microsoft.DotNet.RyuJit.nuspec" />
- </ItemGroup>
- <ItemGroup>
- <!-- Backslash appended, see note in dir.props about the PackagesBinDir property -->
- <NuSpecs Include="$(PackagesBinDir)\toolchain.win7-x64.Microsoft.DotNet.RyuJit.nuspec" />
- </ItemGroup>
-
<!--
Set up Roslyn predefines
-->
<Import Project="..\dir.traversal.targets" />
-
- <!-- Hook into the local publishing by providing the task that needs to run before we can do the local publishing -->
- <Import Project="$(BuildToolsLocation)\lib\packages.targets" Condition="Exists('$(BuildToolsLocation)\lib\packages.targets')" />
- <PropertyGroup>
- <NugetPackageBuildTargets>BuildNuGetPackages</NugetPackageBuildTargets>
- </PropertyGroup>
-
- <!-- Generate RyuJIT nuget package - currently only supported for x64 -->
- <Target Name="BuildNuGetPackages" AfterTargets="MovePDB" Condition="'$(BuildNugetPackage)' != 'false' and '$(BuildArch)' == 'x64'">
- <MakeDir Directories="$(PackagesBinDir)" Condition="!Exists('$(PackagesBinDir)')" />
- <Copy SourceFiles="@(NuSpecSrcs)" DestinationFolder="$(PackagesBinDir)" />
- <Exec Command=""$(NuGetToolPath)" pack "%(NuSpecs.Identity)" -NoPackageAnalysis -NoDefaultExcludes -OutputDirectory "$(PackagesBinDir)"" />
- </Target>
-
<ItemGroup>
<PDBSToMove Include="$(BinDir)mscorlib.pdb"/>
</ItemGroup>