Skip to content

Commit 2fc8afe

Browse files
ghogendrewnoakes
andauthored
Apply suggestions from code review
Co-authored-by: Drew Noakes <[email protected]>
1 parent 1d1f1cd commit 2fc8afe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/msbuild/customize-builds-for-generated-files.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Files generated during execution don't exist during the evaluation phase, theref
4242
</ItemGroup>
4343
</Target>
4444

45-
<Target Name="CleanGeneratedCode" AfterTargets="CoreClean">
45+
<Target Name="CleanGeneratedCode" AfterTargets="CoreClean">
4646
<Delete Files="$(IntermediateOutputPath)GeneratedFile.cs" />
4747
</Target>
4848
```
@@ -53,14 +53,13 @@ Copy the above, paste it into a file, and call it `buildcodegen.targets`. Then,
5353

5454
```xml
5555
<Project Sdk="Microsoft.NET.Sdk">
56-
<Import Project="buildcodegen.targets"/>
56+
<Import Project="buildcodegen.targets"/>
5757
<PropertyGroup>
5858
<OutputType>Exe</OutputType>
5959
<TargetFramework>net9.0</TargetFramework>
6060
<ImplicitUsings>enable</ImplicitUsings>
6161
<Nullable>enable</Nullable>
6262
</PropertyGroup>
63-
6463
</Project>
6564
```
6665

0 commit comments

Comments
 (0)