1
Vote

When I build my WPF app I get "CopyLocal" error

description

I have MSBUILD.ILMERGE.TASK installed in my wpf application. When I build the application I get this error:

The item "C:\Users....\packages\EntityFramework.6.1.3\lib\net45\EntityFramewrok.dll" in item list "ReferencePath" does not define a value for metadata "CopyLocal".

When I select the reference for EntityFramework.dll the CopyLocal flag is true. Why am I getting this error and how do I fix it?

comments