代码之家  ›  专栏  ›  技术社区  ›  Ed James

找不到类型“model type”的概念模型

  •  0
  • Ed James  · 技术社区  · 15 年前

    在csproj文件上运行MSBuild时,出现错误:

    C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v3.0\Microsoft.Ria.Client.targets(261,5): error : Could not find the conceptual model type for 'ModelType'
    

    其中ModelType是关系图中某个类的名称。

    还有人遇到过这个错误吗?我正在努力寻找根本原因。

    1 回复  |  直到 15 年前
        1
  •  1
  •   Devart    15 年前

    这是Silverlight 3的问题。
    workaround 为此:
    *将文件扩展名从.edml更改为.edmx

    *使用64位MSBuild编译解决方案
    实际上,升级到Silverlight 4也解决了这个问题。

    推荐文章