Skip to content

Commit

Permalink
Another attempt to fix AppHarbor.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmind committed Dec 10, 2013
1 parent 88264c1 commit b8d320b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion #framework/Results.Web/Results.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,20 @@
</ProjectExtensions>
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="BeforeBuild">
<Message Importance="High" Text="Before Build" />

<ItemGroup>
<_FilesToCopy Include="$(SolutionDir)\#generated\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(_FilesToCopy)" DestinationFolder="$(MSBuildProjectDirectory)\%(RecursiveDir)">
<Output TaskParameter="CopiedFiles" ItemName="Content" />
<Output TaskParameter="CopiedFiles" ItemName="_ContentAbsolute" />
</Copy>
<Message Importance="High" Text="_ContentAbsolute = @(_ContentAbsolute)" />

<ItemGroup>
<Content Include="$([MSBuild]::MakeRelative($(MSBuildProjectDirectory), %(_ContentAbsolute.Identity)))" Condition="'%(_ContentAbsolute.Identity)' != ''" />
</ItemGroup>
<Message Importance="High" Text="Content = @(Content)" />
</Target>

<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit b8d320b

Please sign in to comment.