<_RestoreProjects Include="external\dir.proj" />
</ItemGroup>
+ <MSBuild Projects="@(_RestoreProjects)" Properties="$(ProjectProperties);DefaultBuildAllTarget=Restore" />
<MSBuild Projects="@(_RestoreProjects)" Properties="$(ProjectProperties)" />
</Target>
<!-- let us control the output path -->
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
+
+ <!-- don't bring in props/targets from packages, we're not consuming them we're
+ deploying them -->
+ <ItemDefinitionGroup>
+ <PackageReference>
+ <ExcludeAssets>Build</ExcludeAssets>
+ </PackageReference>
+ </ItemDefinitionGroup>
</Project>
\ No newline at end of file
</PropertyGroup>
<ItemGroup>
- <PackageReference Include="NETStandard.Library" ExcludeAssets="Build">
+ <PackageReference Include="NETStandard.Library">
<Version>$(NETStandardLibraryPackageVersion)</Version>
</PackageReference>
</ItemGroup>