Azure部署 - 如何添加程序集?

wyt*_*tes 2 windows deployment azure web-deployment azure-web-roles

我的项目在localhost上工作正常,但我想在Windows Azure云服务上推送我的项目.我做了一切很好的发布项目.但是我缺少部署的程序集:

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. 
Run Code Online (Sandbox Code Playgroud)

我检查了引用,Microsoft.Web.Infrastructure是在项目内部.

在此输入图像描述

有人可以帮我将这个程序集添加到发布包中吗?

谢谢

Thi*_*dio 6

您应该在"属性"窗口中将"复制本地"属性设置为"True".

在此输入图像描述