I have remove all resource and click "Save all",but when I add the same name file, I got a CS1566 error.
So I go to check the .csproj file and it shows
----------------
<ItemGroup><EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="bin\Release\WebHostManagerService.exe" />
</ItemGroup>
----------------
yep,it did not remove this <ItemGroup> node and cause recogizing the same name file error.