部署PDBS上Azure的Web角色 [英] Deploy PDBs on an Azure Web Role

查看:168
本文介绍了部署PDBS上Azure的Web角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个是通过VS 2012 Azure项目(在VS手动从权利,而不是)部署一个项​​目。 Web角色项目设置为打造PDB-只有调试信息发布模式,但是在部署的时候PDBS未打包并复制到Azure上的Web角色虚拟机。我如何获得PDBS得到包中包含并传输到服务器?

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?

我想包括我生产PDBS的原因是因为我想获得行号在我的报告ELMAH

The reason I want to include my PDBs in production is because I want to get line numbers in my ELMAH reports.

推荐答案

我一个基本的文件,新的云项目具有以下设置试过了这一点:

I tried this out with a basic "File, New Cloud project" with the following settings:


  1. Web项目 - >属性 - >生成 - >高级 - >调试信息: PDB-仅

  2. Web项目 - >属性 - >封装/发布网站 - >取消选中排除生成调试符号

  1. Web Project -> Properties -> Build -> Advanced -> Debug Info: pdb-only
  2. Web Project -> Properties -> Package/Publish Web -> Uncheck Exclude generated debug symbols

当我编译和使用这些设置2部署碱性溶液中,我发现 WebRole1.dll WebRole1.pdb F:\\为approot \\ BIN \\ 文件夹中。

When I compiled and deployed a basic solution using these 2 settings, I found WebRole1.dll and WebRole1.pdb in the F:\AppRoot\Bin\ folder.

这是你要找的是什么?

这篇关于部署PDBS上Azure的Web角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆