C#C
C#2y ago
Ruttie

Resx file problems

I'm trying to generate a designer file for my resx resources in vscode on linux, but my Language class is internal instead of public, what is wrong?
My code:
  <ItemGroup>
    <EmbeddedResource Update="Localization/Language.resx">
      <Generator>PublicResXFileCodeGenerator</Generator>
      <!--<LastGenOutput>Language.Designer.cs</LastGenOutput>-->
      <StronglyTypedFileName>$(MSBuildProjectDirectory)\Localization\Language.Designer.cs</StronglyTypedFileName>
      <StronglyTypedLanguage>CSharp</StronglyTypedLanguage>
      <StronglyTypedNamespace>TestProject.Localization</StronglyTypedNamespace>
      <StronglyTypedClassName>Language</StronglyTypedClassName>
    </EmbeddedResource>
  </ItemGroup>
Was this page helpful?