-
Notifications
You must be signed in to change notification settings - Fork 414
Expand file tree
/
Copy pathDirectory.Solution.targets
More file actions
21 lines (20 loc) · 1.19 KB
/
Copy pathDirectory.Solution.targets
File metadata and controls
21 lines (20 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- Licensed under MIT No Attribution, see LICENSE file at the root. -->
<Project>
<!--
This root-level file is imported by both repository solutions. The target is intentionally
inert for the main UnitsNet solution, which does not define the LocalPackages platform.
A solution restore evaluates package-facing samples in parallel. Bootstrap the shared local
feed once so their per-project restore hooks observe completed package stamps instead of
launching concurrent dotnet pack processes.
-->
<Target Name="PrepareUnitsNetModularLocalPackagesForSolution"
BeforeTargets="_GenerateRestoreGraph;Restore"
Condition="'$(Platform)' == 'LocalPackages'">
<Message Importance="high" Text="Preparing the repository-local UnitsNet.Modular packages..." />
<MSBuild
Projects="$(MSBuildThisFileDirectory)UnitsNet.Modular/Samples/SharedUnitsLibrarySample/SharedUnitsLibrarySample.Units/SharedUnitsLibrarySample.Units.csproj"
Targets="_PackLocalUnitsNetModularPackages"
BuildInParallel="false"
Properties="Configuration=$(Configuration);Platform=LocalPackages;UnitsNetModularSampleUpdateLocalPackagesOnBuild=true" />
</Target>
</Project>