Hi there,
I am trying to localize my project but for some reason resx don’t generate the corresponding Design.cs
file.
I have this in my Gaming.csproj
<ItemGroup>
<Compile Update="Content\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
<Compile Update="Content\Strings.ja.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.ja.resx</DependentUpon>
</Compile>
<Compile Update="Content\Strings.fr.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.fr.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Content\Strings.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Update="Content\Strings.ja.resx">
<LastGenOutput>Strings.ja.Designer.cs</LastGenOutput>
<Generator>ResXFileCodeGenerator</Generator>
</EmbeddedResource>
<EmbeddedResource Update="Content\Strings.fr.resx">
<LastGenOutput>Strings.fr.Designer.cs</LastGenOutput>
<Generator>ResXFileCodeGenerator</Generator>
</EmbeddedResource>
I don’t get errors and it doesn’t generate anything.
It should be generating something like this here.
I am following a book called Game Development with MonoGame. But they have left out quite a few things. Anybody has any doc or tutorial for mac users?