New Posts New Posts RSS Feed: Issues/questions upgrading to 7.2.2
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Issues/questions upgrading to 7.2.2

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: Issues/questions upgrading to 7.2.2
    Posted: 13-Feb-2014 at 11:05am
Upgraded to 7.2.2. We are using DevForce for Silverlight, we don't do code first. No PostSharp installed.

Questions:

1. When installed - all our config files got runtime assembly binding redirects. Do we need them? We really prefer to keep our config files clean and we don't use GAC, just XCOPY for deployments.

2. Do we need to add and use EF6 for our project? It doesn't seem to use it. Is there any benefit of EF6 for our environment (Silverlight) and if so how do we activate EF6?

Problem:

Also main project seem to be working (when we run website) our test project fails when instance of Entity Manager created. Error says "Assembly 'IdeaBlade.EntityModel.Edm.EF5' not found. This assembly is required when using EF 5", but we did update DevForce reference on this test project and it does show both EF5 and EF6 references.

Any pointers?

Edited by katit - 13-Feb-2014 at 11:42am
Back to Top
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Posted: 13-Feb-2014 at 12:41pm
Ok, seems like VS tooling got confused when you added EF5/EF6 libraries. It doesn't copy it into OUT folder for testing.

I solved it by adding to test class attribute like so:
    [TestClass]
    [DeploymentItem("IdeaBlade.EntityModel.Edm.EF5.dll")]

Bug filed here:

http://connect.microsoft.com/VisualStudio/feedback/details/533935/referenced-assemblies-in-unit-test-are-not-copied-in-testresults-out
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down