EntityDataModelEmbeddedResources参数不支持由EntityDeploy任务 [英] EntityDataModelEmbeddedResources parameter is not supported by the EntityDeploy task
问题描述
在某些计算机(和一些其他不!)我是从的MSBuild 4.0建设3.5解决方案时收到此错误:
On some computers (and some others not!) I'm getting this error from MSBuild 4.0 when building a 3.5 solution:
C:\ WINDOWS \ Microsoft.NET \框架\器v3.5 \ Microsoft.Data.Entity.targets(43,7):错误MSB4131:在EntityDataModelEmbeddedResources参数不支持EntityDeploy的任务。验证参数存在于任务,它是一个gettable公共实例属性。 [C:\ PRG \ myproject.csproj]
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Data.Entity.targets(43,7): error MSB4131: The "EntityDataModelEmbeddedResources" parameter is not supported by the "EntityDeploy" task. Verify the parameter exists on the task, and it is a gettable public instance property. [C:\prg\myproject.csproj]
该项目甚至不使用EF和的csproj不引用目标文件的任何地方。
This project doesn't even use EF and the csproj doesn't reference that 'targets' file anywhere.
有没有人见过这个?任何想法?
Has anyone seen this? Any ideas?
推荐答案
这是不太理想,但作为一种解决方法,我只是删除了EntityDeploy目标的内容在C:\ WINDOWS \ Microsoft.NET \框架\ V3 0.5 \ Microsoft.Data.Entity.targets。有用。希望有人会来这里还有一个更好的解决方案和合理的解释这一点。
This is less than ideal, but as a workaround, I just removed the contents of the EntityDeploy target in C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Data.Entity.targets . It works. Hopefully someone will come along here with a better solution and a reasonable explanation for this.
这篇关于EntityDataModelEmbeddedResources参数不支持由EntityDeploy任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!