Questions tagged [publish-profiles]

80 questions
4
votes
1 answer

Error ERROR_COULD_NOT_CONNECT_TO_REMOTESVC while using msbuild from command prompt

I am trying to deploy my webproject using msbuild tool in command line as shown below - msbuild MyWebProject.vbproj /p:DeployOnBuild=true /p:PublishProfile="MyWebProject - Web Deploy - Test" /p:Configuration=Debug But I am getting following…
Gaurav
  • 139
  • 1
  • 14
4
votes
2 answers

How to configure TFS Build: MSBuild Arguments: Publish Profile: File System

I need some advice on configuring TFS Build to work with MSBuild and a Publish Profile via File System to deploy my web app... I'm using TFS 2013 and Visual Studio 2013. I have a Web Application project with a few class library projects. I have a…
MothraTL
  • 229
  • 4
  • 18
4
votes
3 answers

How do you set AssemblyVersion when using Publish Profiles (.pubxml) from a Web Site Project?

I am using the new ASP.Net and Web Tools 2012.2 Publish Profiles for Web Sites (not web application). I have created a Publish Profile using the tooling which has created the file website.publishproj in the root of the web site. The…
gregpakes
  • 4,465
  • 29
  • 43
3
votes
1 answer

Azure Publish Profile Download is disabled

I've created a an App Service using the Azure portal and wanted to download the Publish Profile (to import that into Visual Studio). But the download button is disabled. Any suggestions?
3
votes
0 answers

Runnings tests in visual studio after publish profile finishes successfully

I have an ASP.NET Core project in Visual Studio 2015 that contains a number of publish profiles to deploy my website to various IIS web servers on an intranet. I also have a project containing a set of Selenium tests. Both of these projects are part…
dippynark
  • 2,743
  • 20
  • 58
3
votes
2 answers

Package multiple publish profiles .pubxml after a successful build in Jenkins CI

I'm using Jenkins for Continuous Integration. Right now I have a job with this command in Jenkins in the command line arguments for a build step: This is the command: "%WORKSPACE%\OEVizion\ITVizion.OEVizion.Web\ITVizion.OEVizion.Web.csproj"…
Leniel Maccaferri
  • 100,159
  • 46
  • 371
  • 480
3
votes
1 answer

How to Apply Transforms to SSDT publish profiles

Using Visual Studio 2013 I have a set of 8 SSDT projects that can all be deployed to several distinct environments. The advanced publish settings for each project, however, are meant to be identical. At present I have created a distinct publish…
abarger
  • 599
  • 7
  • 21
3
votes
1 answer

SSDT: how to protect the password contained in the publish profile?

I want to create a publication task in Jenkins to automatically publish my database changes along with my application. If I understood correctly, a common practice is to create a publish profile that includes the database name as well as the account…
3
votes
1 answer

When publishing solution, is it possible to ignore certain projects?

We have some projects that are only used in some environments so I would like publishing to skip them. However, when publishing the whole solution I get the following msbuild error: "C:\Source\Solution.sln" (default target) (1)…
Nelson Rothermel
  • 9,436
  • 8
  • 62
  • 81
3
votes
1 answer

Building a pipeline using Microsoft MSBuild publishing targets?

I am trying to create a Build Pipeline. I am curious whether I am able to leverage the existing Microsoft publishing msbuild targets or whether I need to write my own from scratch. I have a large web site project (not web application). The build…
gregpakes
  • 4,465
  • 29
  • 43
3
votes
1 answer

MsDeploySkipRules in wpp.targets not working with PublishProfiles

I am publishing my MVC project with the PublishProfile through visual studio, (through UI, right click project, publish) and ticking the option to clear the destination folder. But I do not want a specific folder "Downloads" to be cleared I have…
David Smit
  • 829
  • 1
  • 13
  • 31
3
votes
2 answers

MSBuild Publish Web site project to FileSystem doesn't copy dlls from referenced projects

Context In VS2012 I have 1 sln file with several projects under it. Some are just code libraries and others are web applications. And then we also have 1 web site project... This web site project was recently updated to .NET 4.0 which also meant…
MagnusJarl
  • 33
  • 1
  • 5
2
votes
0 answers

More than one package matched with specified pattern. Please restrain the search pattern

My pipeline was working fine when I used Azure Resource manager Connection Type. Now I lost access of AD and the client secret for Service principle expired. Hence I planned to switch the pipeline connection type to Publish Profile. But since than I…
2
votes
0 answers

Why does the name of my Publish Profile affect the transformation of my Web.config?

I think I have encountered a strange interaction where the name of my Publish Profile is affecting the contents of the published Web.config. For context, I have 2 solution configurations; Release & Staging, and a folder Publish Profile called…
2
votes
0 answers

Visual Studio 2019 - Publish Profile problem

Seems like the most recent update in visual studio 2019 changed something that forces you to pick a publish profile before publishing a file. For instance, I have a web developer who often publishes .cshtml files to a website - we only have one…
Mani5556
  • 394
  • 2
  • 12
  • 33