相关疑难解决方法(0)

Azure git部署 - 缺少第二个程序集中的引用

我正在尝试将Bitbucket部署设置为Azure网站.我成功地将Bitbucket和Azure链接起来,但是当我推送到Bitbucket时,我在Azure网站上收到以下错误:

在此输入图像描述

如果单击"查看日志",则会显示以下编译错误:

    D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [C:\DWASFiles\Sites\<projname>\VirtualDirectory0\site\repository\<projname>.Common\<projname>.Common.csproj]
    D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1578,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "WebMatrix.WebData, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may …
Run Code Online (Sandbox Code Playgroud)

git deployment asp.net-mvc azure web-deployment

9
推荐指数
1
解决办法
4847
查看次数

标签 统计

asp.net-mvc ×1

azure ×1

deployment ×1

git ×1

web-deployment ×1