-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDirectory.Solution.targets
More file actions
19 lines (19 loc) · 869 Bytes
/
Directory.Solution.targets
File metadata and controls
19 lines (19 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<Project InitialTargets="UpdateProjects">
<PropertyGroup>
<CustomAfterMicrosoftCommonTargets>$([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)\src\NuGetize.targets))</CustomAfterMicrosoftCommonTargets>
<OSPlatform Condition="$([MSBuild]::IsOsPlatform('windows'))">windows</OSPlatform>
<OSPlatform Condition="$([MSBuild]::IsOsPlatform('osx'))">osx</OSPlatform>
<OSPlatform Condition="$([MSBuild]::IsOsPlatform('linux'))">linux</OSPlatform>
</PropertyGroup>
<Target Name="UpdateProjects">
<ItemGroup>
<ProjectReference Update="@(ProjectReference)">
<AdditionalProperties>
CustomAfterMicrosoftCommonTargets=$(CustomAfterMicrosoftCommonTargets);
OSPlatform=$(OSPlatform);
%(AdditionalProperties)
</AdditionalProperties>
</ProjectReference>
</ItemGroup>
</Target>
</Project>