改csproj文件就可以了,
用记事本打开csproj文件。
<Compile Include="测试界面\FrmDayTimer.designer.cs" />改为:
<Compile Include="测试界面\FrmDayTimer.designer.cs">
<DependentUpon>FrmDayTimer.cs</DependentUpon>
</Compile>
<EmbeddedResource Include="测试界面\FrmDayTimer.resx" />改为:
<EmbeddedResource Include="测试界面\FrmDayTimer.resx">
<DependentUpon>FrmDayTimer.cs</DependentUpon>
</EmbeddedResource>
https://www.cnblogs.com/grj001/p/12225663.html
标签:文件,resx,Designer,C#,csproj,cs From: https://www.cnblogs.com/yuxuetaoxp/p/17135532.html