✅ My RESX file still is supposedly invalid

You might remember I have a RESX file that VS refuses to open. Furthermore, the ResXFileCodeGenerator tool also claims it's invalid. I compared it to a RESX that I know works and don't see anything. Can someone take a look at it. This is what I see in the csproj file.
<ItemGroup>
<Compile Update="Rsrcs.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Rsrcs.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Rsrcs.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Rsrcs.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Compile Update="Rsrcs.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Rsrcs.resx</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Rsrcs.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Rsrcs.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
This issue is starting to hold me back. If you want to try to compile yourself, try https://github.com/ChatZilla-Replacement-Project/Best-Chat/tree/CS0006Debuggin/Code/IRC/Data. Specifically, you'll want to look at https://github.com/ChatZilla-Replacement-Project/BestChat/blob/ChasingMissingMembersFromAXAML/IRC/Data/Rsrcs.resx. (I know there are other errors. That's stuff I haven't gotten to.)
3 Replies
Will Pittenger
Will PittengerOP3mo ago
Well, since there's been no response here, I'm going to see if copying the <data> tags into a new RESX file helps. Well, that seems to have worked. Now on to an issue with Avalonia in #gui.
canton7
canton73mo ago
$close
MODiX
MODiX3mo ago
If you have no further questions, please use /close to mark the forum thread as answered
Want results from more Discord servers?
Add your server