Questions tagged [publish-profiles]

80 questions
2
votes
1 answer

Dotnet build fails with `Only one project can be specified` when PublishProfile specified

I'm playing with CI and trying to build asp.net core app and publish it to azure using preconfigured publishing profile. I can run the following command using a command line but when I'm running it with Jenkins (Windows) it fails: dotnet build -c…
Mando
  • 11,414
  • 17
  • 86
  • 167
2
votes
1 answer

Disable database publish in asp.net project

I need to disable the database publish section inside publishing profile. I know this may be done somewhere inside element but I don't know how it can be done. There is a thread like this VS2015 pubxml: how to exclude or…
man_luck
  • 1,605
  • 2
  • 20
  • 39
2
votes
1 answer

Get solution directory in VS publish profile file

I have a solution composed with different projects from different path. We use foundation projects from a vanilla folder and then project specific projects from specific directory. Example: specific project directory: c:\proj\specific vanilla…
Adrian C.
  • 231
  • 1
  • 7
2
votes
0 answers

VS Publish Profiles - Is there a way to link the application pool without setting the "IncludeIisSettings" option to true?

To give some context, I'm publishing 3 web applications in the same server, and each of them uses a different application pool. What I want to achieve, is to generate the deploy package with instructions to link the app to a specific already created…
kakaroto
  • 21
  • 2
2
votes
1 answer

How do I override the publishUrl value from *.pubxml from a *.pubxml.user?

I'm trying to override the "publishUrl" value in the related *.pubxml I tried using in pubxml.user but it doesn't pick that up. What are the allowed properties that can be used in *.pubxml.user? I'm using Visual Studio Enterprise 2015…
Karlo Medallo
  • 672
  • 7
  • 17
2
votes
1 answer

MSBuild Error: "The solution file has two projects named ..."

I'm trying to figure out how to make MSBuild work so I can set up automated builds and would appreciate some help with this weird error. I'm using Visual Studio 2013, and a Web Application project. The solution has 8 different class libraries. I've…
MothraTL
  • 229
  • 4
  • 18
2
votes
1 answer

IIS/Visual Studio Publish Profiles

I know IIS allows the creation of Publish Profiles that can be "imported" into Visual Studio in order to upload a site directly into IIS (since I'm already using it). But now I have a more specific question regarding the use of these publish…
1
vote
1 answer

SQL Server Database Publish Profile not using configured property

We have a database project for our SQL Server 2012 database. This database has a few SQL CLR assemblies which are very rarely updated that I wish to exclude from an automated dacpac deployment. I created a publish profile with the following…
Jeff Fol
  • 1,400
  • 3
  • 18
  • 35
1
vote
1 answer

Azure Cloud shell to publish Web App using publish profile

The Azure Cloud Shell can not import the publish profile (i.e. "MyWebApp.PublishSettings") that can be exported from the overview of the web app in Azure, which can be used in Visual Studio to publish the web app. I am trying to find the commands to…
1
vote
1 answer

MSBuild Publish Profile .pubxml.user file not found

I have this solution (Project1) and that has 2x web app projects and 3x dependent library projects. The primary web app project builds and deploys using publish profiles just fine, however, the second web app project is an API (noted below) with…
Deadder
  • 535
  • 1
  • 4
  • 16
1
vote
2 answers

Azure Devops Build Pipeline - files are not published

I'm trying to publish my application using a VS publish profile. When I publish through Visual Studio it works successfully, but through DevOps the publish does not work. The build is successful in both. Here is my VSBuild task definition: …
Agreene
  • 508
  • 7
  • 16
1
vote
1 answer

Visual Studio 2015 Publish Profile

I have multiple publish profiles for different servers. I am wondering if there is any way how I can run all the profiles together instead of deploying one at a time? Thanks!
Champ
  • 53
  • 1
  • 8
1
vote
2 answers

How to limit webdeploy connection number, ERROR_EXCEEDED_MAX_SITE_CONNECTIONS

I have a solution that has 10-20 web projects, and I am trying to use msbuild webdeploy to deploy them. msbuild "mysolution.sln" /p:DeployOnBuild=true /p:PublishProfile="Debug" However, I got this error in the middle of deploy: C:\Program Files…
EthanX
  • 185
  • 1
  • 9
1
vote
1 answer

FileSystem Deploy error - unable to create directory, access is denied

I am using TFS build process with the following MSBuild arguments: /p:DeployOnBuild=True /p:PublishProfile=Development The publish profile works when run from my machine in VS, but when it is run from the build server, it fails with this…
Bartosz
  • 4,406
  • 7
  • 41
  • 80
1
vote
0 answers

Swap Azure Web site slots with Publish profile

Folks, I am wondering if there are any ways to swap a staging slot with production when I only have the publish profile for the web site. I am aware that I can swap slots with Azure CmdLet but that requires adding the Azure subscription into…
Moim
  • 486
  • 1
  • 8
  • 23