Entity Framework 6 and Vault

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Entity Framework 6 and Vault

Post by btd » Fri Apr 18, 2014 1:16 pm

Hi:

We are on version 7.1 of Vault.
Vault is not playing nicely with Entity Framework 6. When I modify my edmx, vault does not automatically check out the dependent files.
Do you have a fix for this?

btd

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Entity Framework 6 and Vault

Post by Beth » Fri Apr 18, 2014 2:47 pm

Are the files on disk set to read-only before you start editing? If the files are already writable, then an auto-check out can't occur.

I'm assuming that you are making use of the Entity Framework through Visual Studio. If that's not the case, then what IDE are you using?

If you are in Visual Studio, do the files associated with the Entity Framework have locks next to them?

How were the files associated with the Entity Framework added to Vault? By that I mean were they added using Visual Studio, or were they added using the Vault GUI client?

NOTE: This user is also using NuGet per this post here: http://support.sourcegear.com/viewtopic ... 158#p75158.
Beth Kieler
SourceGear Technical Support

btd
Posts: 324
Joined: Fri May 13, 2005 1:50 pm

Re: Entity Framework 6 and Vault

Post by btd » Thu Apr 24, 2014 9:01 am

FYI

All the issues seem to be specific to using the Visual Studio Enhanced client. When I unbound my solution and re-bound it using the classic client, everything seems to be working properly. Even the nightly session timeout.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Entity Framework 6 and Vault

Post by Beth » Thu Apr 24, 2014 10:29 am

Thanks for the update. I've logged a bug.

F: 17656
Beth Kieler
SourceGear Technical Support

bmcdonald
Posts: 3
Joined: Thu Mar 05, 2015 9:36 am

Re: Entity Framework 6 and Vault

Post by bmcdonald » Thu Mar 05, 2015 9:46 am

Hi, we are experiencing the same problems. We are currently using Vault 7.1 and EF 6. Beth, you mention that you logged a bug. Has this been resolved? Will upgrading our server and clients to 8.0.1 fix this issue?

Thanks.

bmcdonald
Posts: 3
Joined: Thu Mar 05, 2015 9:36 am

Re: Entity Framework 6 and Vault

Post by bmcdonald » Fri Mar 06, 2015 8:04 am

We are having the same issue. Vault Standard 7.1 and Entity Framework 6. Has this bug been fixed in release 8.0.1?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Entity Framework 6 and Vault

Post by Beth » Fri Mar 06, 2015 10:14 am

This issue hasn't been fixed yet. I will make a note on it that more users are running into this.
Beth Kieler
SourceGear Technical Support

bmcdonald
Posts: 3
Joined: Thu Mar 05, 2015 9:36 am

Re: Entity Framework 6 and Vault

Post by bmcdonald » Fri Mar 06, 2015 10:30 am

Beth:

Thank you for the reply. Is there a better workaround for this issue in the meantime?

Brian

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Entity Framework 6 and Vault

Post by Beth » Fri Mar 06, 2015 10:35 am

You would need to manually check out the packages file and possibly the web.config, or you can switch to the Vault Classic Client. The Classic Client works well with it.
Beth Kieler
SourceGear Technical Support

Post Reply