All Questions
538
questions
0
votes
1
answer
293
views
Issue using MSDeploy Web Deploy 4 to Deploy to an Azure App Service from Azure VM
We were deploying to An Azure App Service using MSDeploy 4 (not 3.6). Out of nowhere we began getting the following error:
##[error]Error: Error Code: ERROR_CONNECTION_TERMINATED
More Information: Web ...
0
votes
0
answers
312
views
How to add an external file to Web Deploy Package
I have two projects in a VS solution, a class library "Project A" and a web api "Project B". Project A is not referenced by project B, but project A puts it's build output into ...
0
votes
2
answers
331
views
Deploy Manifest project using MSBuild
I want to automate build/publish process of my office addin. For web project I can use MSbuild to build and publish project with user interaction. I need similar solution for Manifest project, but I ...
0
votes
1
answer
936
views
How to deploy/reference built files in Azure DevOps Pipeline?
I have created a pipeline in Azure DevOps. First it restores Nuget, then it builds the solution with the following arguments:
/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=...
0
votes
0
answers
409
views
.NET 5.0 Web Deploy Package advanced configurations are ignored
I would like to publish a Blazor Server App targeting .NET 5.0 from command line, using a Visual Studio publish profile that I created choosing "Web Deploy Package" from Publish wizard.
...
1
vote
0
answers
290
views
Why do I get file not found error when publishing angular project using MSBuild
I have the .NET solution with several api project and 1 web project. This web project is SPA application written on angular 10. In build events of this project I do have following command:
cd $(...
1
vote
1
answer
2k
views
MSBuild publish fails to create zip, and also strangely deletes project code files and directories
We have an solution developed using the following technologies:
Visual Studio 2015
.NET Framework 4.8
The solution contains quite a few WCF Web Services that we deploy to an IIS Server
My plan to ...
0
votes
1
answer
864
views
dotnet publish behind proxy 407
I am trying to setup my gitlab build server to deploy an ASP.NET Core project using msdeploy. Now the problem is that my deploy gets blocked by the proxy server...
How do I configure the proxy in the ...
15
votes
1
answer
2k
views
Build ASP.Net Core Deploy Package on Linux
I am trying to build a web deploy package on the .net core sdk docker image to be used to deploy to a windows server running iis (the deployment being done on a seperate windows vm). This is the ...
0
votes
2
answers
370
views
Exclude non-minified files from publish with ASP.NET Core 3.1
Currently I'm using this publish profile (.pubxml) for publication:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/...
0
votes
2
answers
815
views
Cannot webdeploy using msbuild but can with visual studio
I am attempting to deploy asp.net mvc project using web deploy. In visual studio I have setup a profile called dev. I can publish the project through visual studio 2019 no problem.
I am trying to ...
3
votes
3
answers
1k
views
Using a 64-bit source and a 32-bit destination with provider appHostConfig is not supported
I am trying to do automatic deployment with MSDeploy but once I changed to using the app pool I received the following error:
Using a 64-bit source and a 32-bit destination with provider ...
2
votes
3
answers
1k
views
Include web.release.config in Web Deploy output
By default when publishing a Web project using MSBuild/Visual Studio the config transforms are applied.
I would like to include the config transforms within the output.
Input
web.config
web....