Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6417771

Browse files
committed
Improve perf of package build and remove hardcoded dependencies.
This reduced msbuild /m of packages dir from 30s to 6s on my box. I did this by limiting the number of P2P recursions and ensuring they happen in parallel. I've also cleaned up the cases where we hardcoded a dependency on package version and replaced with a project reference. I've diffed the output to ensure there are no unintentional side effects. [tfs-changeset: 1490598]
1 parent 46b04e3 commit 6417771

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dir.targets

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
<ItemGroup>
2828
<FilesToPackage Include="$(PackagePath)">
29+
<AssemblyVersion>$(AssemblyVersion)</AssemblyVersion>
2930
<TargetFramework>$(PackageTargetFramework)</TargetFramework>
3031
<TargetPath>$(PackageTargetPath)</TargetPath>
3132
</FilesToPackage>

0 commit comments

Comments
 (0)