abenci
abenci

Reputation: 8651

How do I install the Entity Framework on my build server?

How do I install the Entity Framework on my build server? I only have MS Visual Studio Shell installed there and there is no Package Manager Console.

Thanks.

Upvotes: 0

Views: 1541

Answers (2)

undefined
undefined

Reputation: 34238

Do one of the following

  • Add the EF assemblies to source control so they can be downloaded on checkout
  • Enable nuget package restore and allow the build server access to the internet to download the packages.

Upvotes: 1

Darin Dimitrov
Darin Dimitrov

Reputation: 1038720

You don't need to install EntityFramework on your build server. EntityFramework is part of the BCL, so all you have to do is install .NET on your build server. Now if you need to use some extensions that are available through NuGet packages, all you need to do is to add reference to those packages in your project and then all the necessary assemblies will be part of the web application. Thus the web application is self-contained. All you have to do is to put them under source control so that the build server is able to retrieve them.

Upvotes: 0

Related Questions