azure-packaging

Deploy PDBs on an Azure Web Role

情到浓时终转凉″ 提交于 2019-12-28 16:41:53
问题 I have a project that is deployed via a VS 2012 Azure Project (from right in VS, not manually). The web role project is set to build "pdb-only" Debug Info in release mode, but when deploying the PDBs are not packaged and copied to the web role VM on Azure. How do I get the PDBs to get included in the package and transmitted to the server? The reason I want to include my PDBs in production is because I want to get line numbers in my ELMAH reports. 回答1: I tried this out with a basic "File, New

No package generated in VSTS build (for ASP.net project), so that release failed, why?

谁都会走 提交于 2019-12-11 16:25:11
问题 I'm using Microsoft team foundation server 2018's build task to build the Asp.net project and then deploy it to Microsoft Azure Website. The following MsBuild command should publish the website to a publishing package in the build agent's artifact directory: "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe" "C:\agent\_work\8\s\Altoro.sln" /nologo /nr:false /dl:CentralLogger,"C:\agent\_work\_tasks\VSBuild_71a9a2d3-a98a-4caa-96ab-affca411ecda\1.119.0

Referencing runtime content from .ccproj (Azure SDK 2.9)

妖精的绣舞 提交于 2019-12-11 08:48:25
问题 I have a worker role that contains a reference to a few nuget packages that drop a few needed runtime files as a post-build step to the project bin folder. The problem I'm facing is that these files are not being copied over to the published worker role as they are not tracked by the worker role .csproj Worker role .csproj: ... <Import Project="[path-to-nupkg]\build\package.targets" Condition="Exists('[path-to-nupkg]\build\package.targets')" /> package.targets copy post-build resources, so

Powershell - Create Azure Deployment Package

蓝咒 提交于 2019-12-06 09:58:58
问题 I've a web solution with 4 web projects. On successful build I need to create a azure deployment package via powershell. Could someone help me whether we can create a azure deployment packages (cspkg, csdef and cscfg). Thanks. 回答1: Here is a good example: Windows Azure 4: Deploying via PowerShell Also: Publish a Package using a Powershell Script This describe the process in detail. 回答2: For this, your solution must contain cloud projects so that your projects are enabled to be deployed in

Cannot find the physical directory for virtual path, in Windows Azure project SDK 1.8

☆樱花仙子☆ 提交于 2019-11-28 21:24:06
I have upgraded windows Azure SDK from V1.7 to V1.8 Before Upgradation part of my config was <Site name="Web"> <VirtualApplication name="MyprojectService" physicalDirectory="../../Myproject.Hosts.WebHost" /> </Site> After Upgradation of SDK I am getting following Error. Error 1 Cannot find the physical directory 'D:\Projects\Myproject\branches\Release_092012\Hosts\Myproject.Hosts.AzureHost\MyprojectAzureHost\Myproject.Hosts.WebHost' for virtual path Web/MyprojectService/. D:\Projects\Myproject\branches\Release_092012\Hosts\Myproject.Hosts.AzureHost\MyprojectAzureHost\bin\Release

Cannot find the physical directory for virtual path, in Windows Azure project SDK 1.8

本秂侑毒 提交于 2019-11-27 13:49:24
问题 I have upgraded windows Azure SDK from V1.7 to V1.8 Before Upgradation part of my config was <Site name="Web"> <VirtualApplication name="MyprojectService" physicalDirectory="../../Myproject.Hosts.WebHost" /> </Site> After Upgradation of SDK I am getting following Error. Error 1 Cannot find the physical directory 'D:\Projects\Myproject\branches\Release_092012\Hosts\Myproject.Hosts.AzureHost\MyprojectAzureHost\Myproject.Hosts.WebHost' for virtual path Web/MyprojectService/. D:\Projects