4

Windows Azure에서 Bitbucket을 통한 지속적인 배포를 사용하는 asp.net mvc 4 웹 사이트가 있습니다. 계정을 변경해야하며 (처음에는 테스트 였으므로) bitbucket/Azure 배포 기능을 사용하여 재배포했습니다. O :?Azure - Bitbucket 배포 실패

C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\deployments\tools\deploy.cmd 
Handling .NET Web Application deployment. 
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.Net.Http.Formatting, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.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 "System.Web.Http, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.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 "System.Web.Http.WebHost, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj] 
App_Start\WebApiConfig.cs(10,37): error CS0246: The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly reference?) [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj] 
An error has occurred during web site deployment. 
Handling .NET Web Application deployment. 
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.Net.Http.Formatting, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.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 "System.Web.Http, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.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 "System.Web.Http.WebHost, 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\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj] 
App_Start\WebApiConfig.cs(10,37): error CS0246: The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly reference?) [C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\repository\BienvenueBebe\BienvenueBebe.csproj] 
An error has occurred during web site deployment. 
D:\kuduservice\wwwroot\bin\scripts\starter.cmd C:\DWASFiles\Sites\mlcpending\VirtualDirectory0\site\deployments\tools\deploy.cmd 

도 이러한 문제를 가진 사람

: 여기

전개의 로그입니다

는하지만, 그것은 "HttpConfiguration"를 찾을 수 없습니다 것 같다 :(불행하게도 실패

답변

1

귀하의 솔루션에 NuGet을 사용할 수없는 것 같습니다. VS에서 솔루션을 마우스 오른쪽 버튼으로 클릭하여 활성화하고 변경 사항을 적용한 다음 다시 푸시하십시오.

그러나 이것이 Bitbucket 계정을 변경하는 것과 관련이 있는지 의심 스럽습니다.