© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
4 replies
Will Pittenger

✅ 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.)
image.png
Rsrcs.resx25.2KB
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Resx file problems
C#CC# / help
2y ago
❔ WPF Image with resource file .resx
C#CC# / help
3y ago
.resx does not properly generate Design-File
C#CC# / help
2y ago
Wpf Resx files
C#CC# / help
4y ago