1

Closed

Build Error: Visual Studio Add-In:Cannot copy file

description

Hi Friends, I get the following Cannot Copy Error. In my project file....I have no entry of copying this file. Can you help me point out where the Error could be? I have also attached the project file along with this Issue.     Starting build... C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe "D:\BT2009\Vigo_P360_Integration\STFK.RiM.VigoP360\STFK.RiM.VigoP360.Deployment\STFK.RiM.VigoP360.Deployment.btdfproj" /nologo /t:Installer /p:Configuration=Release   Build started 14.06.2012 15:23:02. Project "D:\BT2009\Vigo_P360_Integration\STFK.RiM.VigoP360\STFK.RiM.VigoP360.Deployment\STFK.RiM.VigoP360.Deployment.btdfproj" on node 0 (Installer target(s)). Running on Windows V61 Detected IIS 7 Detected 64-bit OS GetSoftwarePaths: Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v2.0.50727'. Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2009\'. Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\'. Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools'. Redist: Removing directory "obj\Release\redist". Creating directory "obj\Release\redist". Creating directory "obj\Release\redist\Deployment\Framework". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\CopyDeployResults.msbuild" to "obj\Release\redist\Deployment\Framework\CopyDeployResults.msbuild". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerDeploy.bat" to "obj\Release\redist\Deployment\Framework\ServerDeploy.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerDeployWizard.bat" to "obj\Release\redist\Deployment\Framework\ServerDeployWizard.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerDeployWizardMSI.bat" to "obj\Release\redist\Deployment\Framework\ServerDeployWizardMSI.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerRedeploy.bat" to "obj\Release\redist\Deployment\Framework\ServerRedeploy.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerRedeployWizard.bat" to "obj\Release\redist\Deployment\Framework\ServerRedeployWizard.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerUnDeploy.bat" to "obj\Release\redist\Deployment\Framework\ServerUnDeploy.bat". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\ServerUnDeployWizard.bat" to "obj\Release\redist\Deployment\Framework\ServerUnDeployWizard.bat". Creating directory "obj\Release\redist\Deployment\Framework\DeployTools". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\adapterXPaths.txt" to "obj\Release\redist\Deployment\Framework\DeployTools\adapterXPaths.txt". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\BounceBizTalkHost.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\BounceBizTalkHost.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\cscript64.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\cscript64.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\DeployBTRules.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\DeployBTRules.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\ElementTunnel.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\ElementTunnel.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\EnvironmentSettingsExporter.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\EnvironmentSettingsExporter.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\ExportBamDefinitionXml.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\ExportBamDefinitionXml.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\gacutil.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\gacutil.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\iisext.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\iisext.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\log4net.dll" to "obj\Release\redist\Deployment\Framework\DeployTools\log4net.dll". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\log4net.Ext.Serializable.dll" to "obj\Release\redist\Deployment\Framework\DeployTools\log4net.Ext.Serializable.dll". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\PlaceVdirInAppPool.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\PlaceVdirInAppPool.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SetAppPoolInfo.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\SetAppPoolInfo.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SetComponentProperty.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\SetComponentProperty.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SetEnvUI.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\SetEnvUI.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SetEnvUIConfig.xsd" to "obj\Release\redist\Deployment\Framework\DeployTools\SetEnvUIConfig.xsd". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SetPackageIdentity.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\SetPackageIdentity.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SSOSettingsFileImport.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\SSOSettingsFileImport.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\SSOSettingsFileReader.dll" to "obj\Release\redist\Deployment\Framework\DeployTools\SSOSettingsFileReader.dll". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\StopBizTalkHost.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\StopBizTalkHost.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\UacElevate.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\UacElevate.exe". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\WriteRegValue.vbs" to "obj\Release\redist\Deployment\Framework\DeployTools\WriteRegValue.vbs". Copying file from "C:\Program Files (x86)\Deployment Framework for BizTalk\5.0\Framework\DeployTools\XmlPreprocess.exe" to "obj\Release\redist\Deployment\Framework\DeployTools\XmlPreprocess.exe". Copying file from "C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets" to "obj\Release\redist\Deployment\Framework\BizTalkDeploymentFramework.targets". Copying file from "C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets" to "obj\Release\redist\Deployment\Framework\BizTalkDeploymentFramework.WiXSetup.targets". Copying file from "C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\DeploymentFramework.BuildTasks.dll" to "obj\Release\redist\Deployment\Framework\DeploymentFramework.BuildTasks.dll". Copying file from "C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\Microsoft.Sdc.Common.tasks" to "obj\Release\redist\Deployment\Framework\Microsoft.Sdc.Common.tasks". Copying file from "C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\Microsoft.Sdc.Tasks.dll" to "obj\Release\redist\Deployment\Framework\Microsoft.Sdc.Tasks.dll". Creating directory "obj\Release\redist\DeployResults". Copying file from "InstallWizard.xml" to "obj\Release\redist\Deployment\InstallWizard.xml". Copying file from "UninstallWizard.xml" to "obj\Release\redist\Deployment\UninstallWizard.xml". Copying file from "D:\BT2009\Vigo_P360_Integration\STFK.RiM.VigoP360\STFK.RiM.VigoP360.Deployment\PortBindings.xml" to "obj\Release\redist\Deployment\PortBindings.xml". Copying file from "STFK.RiM.VigoP360.Deployment.btdfproj" to "obj\Release\redist\Deployment\STFK.RiM.VigoP360.Deployment.btdfproj". Copying file from "..\STFK.RiM.VigoP360.Schemas\bin\Release\STFK.RiM.VigoP360.Schemas.dll" to "obj\Release\redist\STFK.RiM.VigoP360.Schemas.dll". Copying file from "..\STFK.RiM.VigoP360.Schemas\bin\Release\STFK.RiM.VigoP360.Schemas.pdb" to "obj\Release\redist\STFK.RiM.VigoP360.Schemas.pdb". Copying file from "..\STFK.RiM.VigoP360.Orchestrations\bin\Release\STFK.RiM.VigoP360.Orchestrations.dll" to "obj\Release\redist\STFK.RiM.VigoP360.Orchestrations.dll". Copying file from "..\STFK.RiM.VigoP360.Orchestrations\bin\Release\STFK.RiM.VigoP360.Orchestrations.pdb" to "obj\Release\redist\STFK.RiM.VigoP360.Orchestrations.pdb". Copying file from "..\STFK.RiM.VigoP360.Transforms\bin\Release\STFK.RiM.VigoP360.Transforms.dll" to "obj\Release\redist\STFK.RiM.VigoP360.Transforms.dll". C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets(108,5): error MSB3021: Unable to copy file "..\STFK.RiM.VigoP360.Transforms\bin\Release\STFK.RiM.VigoP360.Transforms.dll" to "obj\Release\redist\STFK.RiM.VigoP360.Transforms.dll". Could not find a part of the path '..\STFK.RiM.VigoP360.Transforms\bin\Release\STFK.RiM.VigoP360.Transforms.dll'. Done Building Project "D:\BT2009\Vigo_P360_Integration\STFK.RiM.VigoP360\STFK.RiM.VigoP360.Deployment\STFK.RiM.VigoP360.Deployment.btdfproj" (Installer target(s)) -- FAILED.   Build FAILED.   "D:\BT2009\Vigo_P360_Integration\STFK.RiM.VigoP360\STFK.RiM.VigoP360.Deployment\STFK.RiM.VigoP360.Deployment.btdfproj" (Installer target) (1) -> (Redist target) -> C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.WiXSetup.targets(108,5): error MSB3021: Unable to copy file "..\STFK.RiM.VigoP360.Transforms\bin\Release\STFK.RiM.VigoP360.Transforms.dll" to "obj\Release\redist\STFK.RiM.VigoP360.Transforms.dll". Could not find a part of the path '..\STFK.RiM.VigoP360.Transforms\bin\Release\STFK.RiM.VigoP360.Transforms.dll'.   0 Warning(s) 1 Error(s)   Time Elapsed 00:00:00.30

file attachments

Closed Jun 20, 2012 at 4:30 AM by tfabraham
Not a product issue. Please post in the Discussions area if you need additional help.

comments

tfabraham wrote Jun 14, 2012 at 7:39 PM

Just add <IncludeTransforms>false</IncludeTransforms> to your first PropertyGroup. The default is true.