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

Commit

Permalink
Build Shims before src
Browse files Browse the repository at this point in the history
And place shims in both ref and runtime path for active build configuration.
  • Loading branch information
ericstj committed Jan 30, 2017
1 parent 3733239 commit c034a19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/dirs.proj
Expand Up @@ -8,8 +8,8 @@

<ItemGroup>
<Project Include="ref.builds" />
<Project Include="src.builds" />
<Project Include="shims\shims.proj" />
<Project Include="src.builds" />
</ItemGroup>

<Import Project="..\dir.targets" />
Expand Down
3 changes: 3 additions & 0 deletions src/shims/shims.proj
Expand Up @@ -54,9 +54,12 @@
<Exec Command="$(GenFacadesCmd) -contracts:$(NetStandardRefPath)netstandard.dll @&quot;$(GenFacadesResponseFile)&quot;" WorkingDirectory="$(ToolRuntimePath)" />

<!-- Copy the facades to the package ref and lib folders to be included in the packages -->
<!-- TODO: replace with BinPlacing targets -->
<ItemGroup>
<PackageOutputPaths Include="$(BinDir)$(TargetGroup)/pkg/ref" />
<PackageOutputPaths Include="$(BinDir)$(TargetGroup)/pkg/lib" />
<PackageOutputPaths Include="$(BuildConfigurationRefPath)" />
<PackageOutputPaths Include="$(RuntimePath)" />
<ProducedFacades Include="$(GenFacadesOutputPath)*.dll" />
<FileWrites Include="@(ProducedFacades)" />
</ItemGroup>
Expand Down

0 comments on commit c034a19

Please sign in to comment.