Questions tagged [publish-profiles]
80 questions
0
votes
1 answer
File system deploy to multiple servers
I am using TFS and Visual Studio 2017. I have two servers for load balancing purposes, both servers have identical release versions(In theory) of my MVC application.
The current release process is as follows:
Take a backup of the existing root…

Abe
- 1,879
- 2
- 24
- 39
0
votes
0 answers
.NET core - Publish page not showing on VS 2019 (version 16.3.4)
Since I updated Visual Studio Professional 2019 to latest version (16.3.4), I'm not able to publish my .NET Core console app to a folder anymore (I'm not using online services).
I used to right click on my executable project, click on "Publish" menu…

maradev21
- 576
- 2
- 6
- 20
0
votes
1 answer
Deploy to Azure using publish profile : Works when publishing on VS2017 fails when using Jenkins
I downloaded the Publishing Profile from my App Service and created a profile on my WebApi.
When I execute "publishing" using VS 2017, it works fine.
When I try to execute deploy command on Jenkins if fails. The error message I have is…

Gabriel Scavassa
- 576
- 1
- 4
- 21
0
votes
0 answers
How to get a Release build without using the publish file?
I have a series of build pipelines setup by someone no longer available. The Visual Studio Build steps all have this in their MSBuild Arguments field:
/p:DeployOnBuild=true /p:PackageLocation="$(build.artifactstagingdirectory)\\"…

Matt W
- 11,753
- 25
- 118
- 215
0
votes
1 answer
VSTS Release Webapp to more than 30 appservices using Publish Profile
We have developed a web application using ASP.NET MVC and database in SQL server.
We are having more than 30 clients, each client has their own Azure appservice and Azure SQL database. All the resources are under single subscription.
Now I wanted…

Saravana Kumar
- 3,669
- 5
- 15
- 35
0
votes
1 answer
msbuild error MSB4044: The "CheckPathAttributes" task was not given a value for the required parameter "Path"
I'm trying to build a deploy package from a Publish Profile using msbuild. I use the command from https://stackoverflow.com/a/15079260/492336:
msbuild.exe MyProject.csproj /p:DeployOnBuild=true;PublishProfile=MyProfile
But I am getting this…

sashoalm
- 75,001
- 122
- 434
- 781
0
votes
1 answer
Publish Profile Encryption
I want to encrypt my connection string and app settings. Currently, I have multiple publish profiles with each profile having it's transform.
Below is my pubxml file code but for some reason my target with exec command is not getting triggered. Can…

Champ
- 53
- 1
- 8
0
votes
1 answer
Parameterise settings.json of Function app for publish
For a Proof of Concept, I would like to publish an Azure Function from Visual studio to Azure with a different connectionString value. But I can't figure out how.
In the FunctionApp there is a local.settings.json file. I have added a…

Melissa
- 463
- 5
- 18
0
votes
1 answer
Web Deployment Publish parameters.xml to match windows authentication providers
I have a Web Deployment publish profile in my visual studio project.
I have multiple environments, which in one I use NTLM provider and on the other I user Negotiate:Kerberos provider on the windows authentication mode.
My question is: How can I set…

Amit Ben Ami
- 548
- 2
- 6
- 21
0
votes
1 answer
Shared Publish Profiles with User Specific variables
We have a complex visual studio publish profile for developers to deploy files. I want developers to all to use the same publish profile whilst have some variables configurable for each individual user that don't get checked in to source control. Is…

Anicho
- 2,647
- 11
- 48
- 76
0
votes
1 answer
How do I set TargetConnectionString of SSDT Publish profile from AppConfig
We have recently moved to SSDT publish profiles, we have couple of sql servers to which our app can connect.
Also, we have a SSDT Publish Profile for each server, thereby having a lot of .publish.xml files.
Our app.config which contains…

Muds
- 4,006
- 5
- 31
- 53
0
votes
1 answer
VS solution deploying to Azure through TeamCity fails with 'missing' Publish Profile searched for in both solution projects
My team have got a Visual Studio solution with 2 projects in it - 1 is an Umbraco website project, the other is a data access layer named Core. The Umbraco project has the data access layer as a dependency at build time, with the Umbraco project…

Charlie Anstey
- 11
- 3
0
votes
1 answer
VS2013 Publish Profile Targets
Using diagnostic logging, I can see that when I run my publish profile, I get the message "Done building target "GatherAllFilesToPublish"" and then I get "Done building project" and then it actually does the copying of files from the PackageTmp…

maxmoore14
- 701
- 7
- 26
0
votes
1 answer
Possible to have MSBUILD or MSDEPLOY deploy to server with publish profile?
We've used msdeploy to deploy to a server, but we have explicitly passed the server name, site name, username, and password in as parameters. It seems that, since all of this is contained in a publish profile, that we could just pass in the publish…

undeniablyrob
- 1,339
- 2
- 16
- 16
0
votes
1 answer
Adding PublishProfile to tfsbuild msbuild arguments makes the drop folder empty (except for log files)
Build Server: TFS 2012 with Update 4.
I am using chained configurations to apply web.config transformations. I have two solution configurations, Debug and Release.
I have three publish profiles for my web application, DEV, UAT and PROD.
In my buid…

Amanda Kitson
- 5,477
- 12
- 49
- 73