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.
For viewing the deployed web role we need to get the url. For this select the Deployment 1 row from the list above. From the property pane on the right we can see the DNS name. Some additional information has to be known while dealing with roles. The virtual machine size provides the resource capacity of the virtual machine.
Azure role-based access control (Azure RBAC) has several Azure built-in roles that you can assign to users, groups, service principals, and managed identities. Role assignments are the way you control access to Azure resources. If the built-in roles don't meet the specific needs of your organization, you can create your own Azure custom roles.
The simplest way to deploy to an Azure Web App is to use the Azure Web App task. To deploy to any Azure App service (Web app for Windows, Linux, container, Function app or web jobs), use the Azure App Service Deploy task.
Role assignments are the way you control access to Azure resources. If the built-in roles don't meet the specific needs of your organization, you can create your own custom roles for Azure resources. This article lists the built-in roles for Azure resources, which are always evolving.
I tried this out with a basic "File, New Cloud project" with the following settings:
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.
Is this what you were looking for?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With