Msbuild没有复制web.转换时的配置文件



TransformWebConfig文件夹在msbuild发布后为空。以下是teamcity日志

[09:31:43]: [CollectWebConfigsToTransform] GetPublishingLocalizedString 
[09:31:43]: [GetPublishingLocalizedString] Found The following for Config tranformation:
{0}
[09:31:43]: [itit.vbproj.teamcity] PipelineTransformPhase 
[09:31:43]: [PipelineTransformPhase] GetPublishingLocalizedString 
[09:31:43]: [GetPublishingLocalizedString] Publish Pipeline Transform Phase 
[09:31:43]: [itit.vbproj.teamcity] AutoParameterizationWebConfigConnectionStringsCore
[09:31:43]: [AutoParameterizationWebConfigConnectionStringsCore] Skipping target
"AutoParameterizationWebConfigConnectionStringsCore" because it has no inputs. 
[09:31:43]: [itit.vbproj.teamcity] CopyAllFilesToSingleFolderForPackage (1s) 
[09:31:43]: [CopyAllFilesToSingleFolderForPackage] GetPublishingLocalizedString 
[09:31:43]: [GetPublishingLocalizedString] Copying all files to temporary location below for package/publish:objDeploy-DevPackagePackageTmp.

网络。配置文件存在于目录中。只是不明白为什么它不挑选它。发布后,目标包含web.deploy和web.deploy。发布文件而不是web。配置文件。请帮助。

经过几次工作,找出了那个web。配置属性设置为不复制,将其更改为始终复制,其次构建操作设置为无,将其更改为内容。希望能帮到别人。

最新更新