Tuesday, 15 September 2015

entity framework - Cannot remove reference to EF version 6 in build -



entity framework - Cannot remove reference to EF version 6 in build -

i using tfs 2010 , vs 2012.

i failed in effort upgrade mvc4 mvc5. thought rolled project ok in tfs builds fail because references ef version 6 have not been removed.

as far can tell have removed ef v6 everywhere in code. in build have next message;

unified primary reference "entityframework, version=6.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089". using version instead of original version "4.4.0.0" in "c:\builds\3\solutiona\solutiona- test\sources\projectb\projectb\bin\debug\projectb.dll" because autounify 'true'. resolved file path "c:\builds\3\solutiona\solutiona - test\sources\mvc4\solutiona\solutiona.model\lib\entityframework.dll". reference found @ search path location "{candidateassemblyfiles}".

so "autounify true" mean?

decided create proper reply our comments. think initial problem out of sync dll, packages folder. re-installed ef 5 fresh still having packages issues.

this appears nuget setup. article same error latest build error. build cannot find entity framework .

in particular article accepted reply sounds similar issues you're having. http://msmvps.com/blogs/rfennell/archive/2011/10/17/using-nuget-and-tfs-build-2010.aspx point works locally, not in build process. allow me know if issues seems different.

entity-framework tfs msbuild

No comments:

Post a Comment