[英]Azure Deployment - How to add an assembly?
My project is working fine on localhost, but I would like to push my project on a Windows Azure Cloud Service. 我的项目在localhost上运行良好,但我想将项目推送到Windows Azure云服务上。 I did everything nice to publish the project.
我所做的一切都很好,可以发布该项目。 However I have missing assemblies for the deployment :
但是我缺少用于部署的程序集:
Warning 1 The web project 'MyProject' is dependent on the following
MVC assembly: C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\
v2.0\Assemblies\Microsoft.Web.Infrastructure.dll. MVC assemblies must be added to
the package or installed on the virtual machine for your web role. For more details
about this, see the following help page: http://go.microsoft.com/fwlink/?LinkId=218227.
I checked the references and the Microsoft.Web.Infrastructure is inside of the project. 我检查了引用,并且Microsoft.Web.Infrastructure位于项目内部。
Could someone could help me to add this assembly to the publish package ? 有人可以帮我将这个程序集添加到发布包中吗?
Thanks 谢谢
You should set the "Copy Local" Property to "True" on Properties Window. 您应该在“属性”窗口中将“复制本地”属性设置为“真”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.