Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AfterSolutionBuild.targets « eng - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de108aec272325dd28cbbeb43c1236d4b2f33a8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<Project>

  <Import Project="tools\RepoTasks\RepoTasks.tasks" />
  <Import Project="SharedFramework.External.props" />
  <Import Project="SharedFramework.Local.props" />

  <!-- This is temporary until we can use FrameworkReference to build our own packages. -->
  <Target Name="RemoveSharedFrameworkOnlyRefsFromNuspec" AfterTargets="Pack"
      Condition=" '$(MSBuildRuntimeType)' == 'core' ">
    <ItemGroup>
      <_BuildOutput Include="$(ArtifactsShippingPackagesDir)*.nupkg"
                    Exclude="$(ArtifactsShippingPackagesDir)*.symbols.nupkg" />
    </ItemGroup>

    <RepoTasks.RemoveSharedFrameworkDependencies Condition="'@(_BuildOutput->Count())' != '0'"
      Files="@(_BuildOutput)"
      FrameworkOnlyPackages="@(AspNetCoreAppReference)"
      SharedFrameworkTargetFramework="$(DefaultNetCoreTargetFramework)" />
  </Target>

</Project>