summaryrefslogtreecommitdiff
path: root/build.proj
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2015-02-11 16:12:17 -0800
committerMatt Mitchell <mmitche@microsoft.com>2015-02-11 16:32:22 -0800
commit71b380b1104d2b42a5fa157c34d1c5cf88e5cb44 (patch)
tree8fafbf0ec63e6e44b7ce7d091bdf5703179653a3 /build.proj
parent214e8d27801090f72f7c12267e12fc55a887679f (diff)
downloadcoreclr-71b380b1104d2b42a5fa157c34d1c5cf88e5cb44.tar.gz
coreclr-71b380b1104d2b42a5fa157c34d1c5cf88e5cb44.tar.bz2
coreclr-71b380b1104d2b42a5fa157c34d1c5cf88e5cb44.zip
Fix rebuild issue with development package
If the development package is deleted and then a rebuild is attempted we fail because mscorlib is not where we think it should be. We should be looking for mscorlib.pdb in the PDBs dir and also building the packages after the PDBs are moved.
Diffstat (limited to 'build.proj')
-rw-r--r--build.proj2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.proj b/build.proj
index e582c07e85..719910953c 100644
--- a/build.proj
+++ b/build.proj
@@ -55,7 +55,7 @@
</ItemGroup>
<!-- Generate Microsoft.Dotnet.CoreCLR nuget package and associated development package -->
- <Target Name="BuildNuGetPackages" AfterTargets="Build" Condition="'$(BuildNugetPackage)' != 'false'">
+ <Target Name="BuildNuGetPackages" AfterTargets="MovePDB" Condition="'$(BuildNugetPackage)' != 'false'">
<MakeDir Directories="$(PackagesBinDir)" Condition="!Exists('$(PackagesBinDir)')" />
<Copy SourceFiles="@(NuSpecSrcs)" DestinationFolder="$(PackagesBinDir)" />
<Exec Command="$(NuGetToolPath) pack &quot;%(NuSpecs.Identity)&quot; -NoPackageAnalysis -NoDefaultExcludes -OutputDirectory &quot;$(PackagesBinDir)&quot;" />