Skip to content
This repository was archived by the owner on Jul 12, 2022. It is now read-only.

Commit bb5a8ae

Browse files
committed
Merge pull request #154 from jaredmoo/CopyrightHeaderBinLocation
Copy CopyrightHeader.md and IllegalHeaders.md to the correct output location
2 parents c833fdc + dbf7b8a commit bb5a8ae

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/CodeFormatter/CodeFormatter.csproj

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,16 @@
8282
<Compile Include="Program.cs" />
8383
<Compile Include="Properties\AssemblyInfo.cs" />
8484
</ItemGroup>
85+
<ItemGroup>
86+
<Content Include="CopyrightHeader.md">
87+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
88+
</Content>
89+
<Content Include="IllegalHeaders.md">
90+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
91+
</Content>
92+
</ItemGroup>
8593
<ItemGroup>
8694
<None Include="App.config" />
87-
<None Include="CopyrightHeader.md" />
88-
<None Include="IllegalHeaders.md" />
8995
<None Include="packages.config" />
9096
</ItemGroup>
9197
<ItemGroup>
@@ -103,8 +109,4 @@
103109
Other similar extension points exist, see Microsoft.Common.targets.
104110
<Target Name="BeforeBuild">
105111
</Target> -->
106-
<Target Name="AfterBuild">
107-
<Copy SourceFiles="$(ProjectDir)IllegalHeaders.md" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
108-
<Copy SourceFiles="$(ProjectDir)CopyrightHeader.md" DestinationFolder="$(OutputPath)" ContinueOnError="true" />
109-
</Target>
110112
</Project>

0 commit comments

Comments
 (0)