none
MSBuild构建项目 RRS feed

  • 问题

  • 的MSBuild的构建项目时每次都会出现这个问题,但是一直都不知道是什么原因导致的,想请教下大家

    6> C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Web \ Microsoft.Web.Publishing.targets(4329,5):error:PublishProfile的值已设置为“Zhong_Framework / p:TargetFrameworkVersion = v4.5.1“,需要在”D:\ MyDrivers \ Jenkins \ workspace \ JenkinsTest \ Zhong_Framework.Web \ Properties \ PublishProfiles \ Zhong_Framework / p:TargetFrameworkVersion = v4.5.1“位置找到该文件,但并未找到[D: \ MyDrivers \ Jenkins \ workspace \ JenkinsTest \ Zhong_Framework.Web \ Zhong_Framework.Web.csproj]

    6> C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Web \ Microsoft.Web.Publishing.targets(4336,4):错误:已设置PublishProfile(Zhong_Framework / p:TargetFrameworkVersion = v4。 5.1)。但$(WebPublishMethod)没有有效值当前值为“”。[D:\ MyDrivers \ Jenkins \ workspace \ JenkinsTest \中慧框架.Web \ Zhong_Framework.Web.csproj]

    6> C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v11.0 \ Web \ Microsoft.Web.Publishing.targets(4343,5):错误:目标ValidatePublishProfileSettings失败[D:\ MyDrivers \ Jenkins \ workspace \ JenkinsTest \ Zhong_Framework名.web \ Zhong_Framework.Web.csproj]

    2017年5月7日 4:37

全部回复

  • 你好,

    请问你的TFS是什么版本?

    你是用的XAML build 吗?

    你的ms build 的参数是怎么设置的?


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    2017年5月8日 2:57