msdeploy

MsDeploy 3.5 automatic backup creates zip files lacking the Contents directory

我怕爱的太早我们不能终老 提交于 2021-02-19 08:12:40
问题 I am using the Web Deploy 3.5 tool to deploy our .NET 4.0 WCF web service (with the help of PackageWeb nuget). We have two "Windows Server 2008-R2" servers that are being used to test drive Web Deploy: QA and Staging. Both servers are configured to create up to 20 automatic backups (per application) during deployments. For some reason our Staging server generates backup ZIP files that only contain two files: archive.xml systemInfo.xml The "Contents" directory is not there and there is no

How to add extra files to the package that is generated by msbuild called by an Azure Resource Group Project in Visual Studio

无人久伴 提交于 2021-02-10 06:46:44
问题 So I have a solution made up of a web project and an Azure Resource Group project much like what is described here: https://blogs.technet.microsoft.com/georgewallace/2015/05/10/deploying-a-website-with-content-through-visual-studio-with-resource-groups/ The issue I am having is that the web project needs to include some EXTRA files in its bin directory in order to function. Now through the normal package process on the web project itself I accomplish this by adding a custom target and hook

How to add extra files to the package that is generated by msbuild called by an Azure Resource Group Project in Visual Studio

帅比萌擦擦* 提交于 2021-02-10 06:46:04
问题 So I have a solution made up of a web project and an Azure Resource Group project much like what is described here: https://blogs.technet.microsoft.com/georgewallace/2015/05/10/deploying-a-website-with-content-through-visual-studio-with-resource-groups/ The issue I am having is that the web project needs to include some EXTRA files in its bin directory in order to function. Now through the normal package process on the web project itself I accomplish this by adding a custom target and hook

How to exclude folder in Web Deploy V3 cmd line using msdeploy.exe

耗尽温柔 提交于 2021-02-08 06:35:37
问题 I am in the process of building CI using TeamCity using Nant. I have stuck with the last piece of code to exclude App_Data folder while deploying to the server. Here is my code : C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy.exe -verb:sync -source:contentPath="C:\a\testteamcity\Demo\WebApp\obj\Release\Package\PackageTmp" -dest:contentPath='prod.test/deploy' -skip:Directory="App_Data" -skip:objectName=dirPath,absolutePath="\\App_Data" ,ComputerName="https://XXX:8172/msdeploy.axd?prod.

How avoid *.<Environment>.config transformations being deployed on server

孤人 提交于 2021-02-07 14:54:56
问题 I'm using VSTS to deploy at several environments. And as usual, some parameters on config files need to be different depending the environment, hence I will use config transformations to deploy it at the target environment. Since I want to have the package with both the config and the transform that will be applied later I set the Build Action as Content as such: <Content Include="App_Config\MyConfig.config" /> <Compile Include="App_Config\MyConfig.prod.config"> <DependentUpon>MyConfig.config

Strange PackageTmp when create deploy package with msdeploy in asp.net mvc project

蓝咒 提交于 2021-02-07 10:30:44
问题 I have the following path to my asp.net (with mvc) project: D:\testAppMvc\testAppMvc.sln I have installed msdeploy from here (no settings were made). In Visual Studio 2010, right click on project-> Build Deployment package . Until now is ok. If I open the ZIP package I see the strange path to my project necessary files for IIS. \Content\D_C\testAppMvc\obj\Debug\Package\PackageTmp\ Are there any way to change that path for deploy source files or it is unchangeable ? 回答1: I think you need to

Issues with `msdeploy` (An error occurred when the request was processed on the remote computer.)

只谈情不闲聊 提交于 2021-01-29 19:29:56
问题 I have tried the following to deploy a .NET Framework 4.5 application to a remote windows server using Jenkins and msdeploy: def deployDev(folder, virtualDirectory) { bat "\"C:\\Program Files\\IIS\\Microsoft Web Deploy V3\\msdeploy.exe\" -verb:sync -allowUntrusted -source:package=\"${WORKSPACE}\\DIST\\Package\\${virtualDirectory}.zip\" -dest:auto=\"Default%%20Web%%20Site/${virtualDirectory}\",computerName=\"https://XX-XXX-XX:8172/msdeploy.axd?site=Default%%20Web%%20Site\" -enablerule

Webdeploy permission issue

左心房为你撑大大i 提交于 2021-01-27 05:18:36
问题 I have 3 web deploy (visual studio publish project to package) packages for which I use msdeploy command to sync with a server. One of the package was newly added. The other two packages work fine except for the newly added one. I see the following error in the log. I am not sure where to set the permission for this since the permissions for iisApp provider are already set in IIS Manager Delegation settings. I am new to IIS configuration and .net development. Can anyone provide info on why I

Webdeploy permission issue

非 Y 不嫁゛ 提交于 2021-01-27 05:18:16
问题 I have 3 web deploy (visual studio publish project to package) packages for which I use msdeploy command to sync with a server. One of the package was newly added. The other two packages work fine except for the newly added one. I see the following error in the log. I am not sure where to set the permission for this since the permissions for iisApp provider are already set in IIS Manager Delegation settings. I am new to IIS configuration and .net development. Can anyone provide info on why I