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\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]
This project doesn’t even use EF and the csproj doesn’t reference that ‘targets’ file anywhere.
Has anyone seen this? Any ideas?
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.