开发者

Ado.NET Entity Generator Error with German version

开发者 https://www.devze.com 2023-02-18 08:52 出处:网络
When I add a \'ADO.NET code generation element\' and choose \'ADO.NET self tracking entity generator\' I get some errors. After some inspection on the templates I figured it out, that the German local

When I add a 'ADO.NET code generation element' and choose 'ADO.NET self tracking entity generator' I get some errors. After some inspection on the templates I figured it out, that the German localization seems to corrupt them by using double quotations, where the English original has single quotations. Since double quotations are used as string-delimiter in C#, the templating process fails at the corresponding lines. Afterwards I chased up the faulty string in the Microsoft.Data.Entity.Design.Resources.dll.

My short solution was to delete that assembly and thus removing the German local开发者_高级运维ization of the entity object generator.

This works anyway, but cannot be a solution, that is meant to be. Anyone encountered a similar problem or/and has another approach?

0

精彩评论

暂无评论...
验证码 换一张
取 消