Change from placeholder so file doesn't get ignored
MODIFY
src/Chapter01/Chapter01.csproj
src/Chapter01/Chapter01.csproj
</PropertyGroup>
<Import Project="..\Chapter.props" />
<ItemGroup>
- <Compile Remove="Listing01.02.PLACEHOLDER.cs" />
+ <Compile Remove="Listing01.02.SampleNETCoreConsoleProjectFile.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</Compile>
</ItemGroup>
<ItemGroup>
- <None Include="Listing01.02.SampleNETCoreConsoleProjectFile.csproj" />
- <None Include="Listing01.02.Placeholder.cs" />
+ <None Include="Listing01.02.SampleNETCoreConsoleProjectFile.cs" />
</ItemGroup>
</Project>

RENAME
src/Chapter01/Listing01.02.Placeholder.cs
src/Chapter01/Listing01.02.SampleNETCoreConsoleProjectFile.cs
DELETE
src/Chapter01/Listing01.02.SampleNETCoreConsoleProjectFile.csproj
-<Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <OutputType>Exe</OutputType>
- <TargetFramework>net5.0</TargetFramework>
- </PropertyGroup>
-</Project>
\ No newline at end of file

Change from placeholder so file doesn't get ignored