Lenon
.resx does not properly generate Design-File
My .csproj looks like:
But the generated code is just
<ItemGroup>
<EmbeddedResource Update="Resources\ErrorResources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>ErrorResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="Resources\ErrorResources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>ErrorResources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
/// <summary>
/// Looks up a localized string similar to Failed to update the database {0}.
/// </summary>
internal static string DatabaseUpdateFailure {
get {
return ResourceManager.GetString("DatabaseUpdateFailure", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to update the database {0}.
/// </summary>
internal static string DatabaseUpdateFailure {
get {
return ResourceManager.GetString("DatabaseUpdateFailure", resourceCulture);
}
}
2 replies