Print Page | Close Window

Issues/questions upgrading to 7.2.2

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4648
Printed Date: 14-May-2024 at 2:07am


Topic: Issues/questions upgrading to 7.2.2
Posted By: katit
Subject: Issues/questions upgrading to 7.2.2
Date 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?



Replies:
Posted By: katit
Date 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



Print Page | Close Window