Deploying Azure Web Site and Class Libraries

I am trying to deploy ASP.NET MVC 4 website on Azure. In my solution, I have two projects: an MVC project containing folders for views, controllers, jQuery, CSS, etc. Another project is a class library that contains all the models such as data models, view modes, and migration options for the Entity Framework.

I posted the first project (MVC website) for Azure with no problem, but of course it can't function without the class library. No permission to publish the class library when I click on it.

How to publish a class library so that an MVC project in Azure can access it.

Here's an image showing my solution (project name edited):

+3


source to share


2 answers


If you have dependent rights of an MVC project using VS to deploy (by posting a profile), it will automatically download all dependent projects of the main project you want to deploy.



One of them thinks you should say that it just works

+2


source


1.Expand Links

2.Right Click the link what you want

3. Select properties with the right mouse button



4. In the properties area, Focus on Copy Local

5.set true.

Then post your solution. which automatically publish your DLL

0


source







All Articles