Skip to content

DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts #418

Open
@tfabraham

Description

@tfabraham

I have set up deployment of an IIS virtual directory and also included the artifacts in a web project in my solution.
I have modified the csproj according to the documentation to generate the WCF artifacts.
All works great on my development machine.

When I try to build the solution at the TFS Build server I get the following unhelpful error(long paths and names removed for readability):
11:50:09.077 28>Target "AfterBuild: (TargetId:1183)" in project "C:\Builds\68**.InvoiceHub.IIS.csproj" (target "Build" depends on it):
Using "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" task from assembly "C:\Builds\68*\ExternalReferences\BizTalkDeploymentFramework.Tasks.dll".
Task "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" (TaskId:816)
Exporting WCF service artifacts from WcfServiceDescription.xml... (TaskId:816)
11:50:09.339 28>C:\Builds\68**.InvoiceHub.IIS.csproj(104,5): error : Exception has been thrown by the target of an invocation.
Done executing task "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" -- FAILED. (TaskId:816)
11:50:09.340 28>Done building target "AfterBuild" in project "*.InvoiceHub.IIS.csproj" -- FAILED.: (TargetId:1183)
11:50:09.340 28>Done Building Project "C:\Builds\68**.InvoiceHub.IIS.csproj" (default targets) -- FAILED.

This is the log with verbosity: Diagnostic

Compared to the log on my local development machine:
1>Target "AfterBuild: (TargetId:67)" in project "C:\Dev**.InvoiceHub.IIS.csproj" (target "Build" depends on it):
1>Using "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" task from assembly "C:\Dev*\ExternalReferences\BizTalkDeploymentFramework.Tasks.dll".
1>Task "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts" (TaskId:33)
1> Task Parameter:ServiceDescriptionPath=WcfServiceDescription.xml (TaskId:33)
1> Task Parameter:OutputPath=.\ (TaskId:33)
1> Exporting WCF service artifacts from WcfServiceDescription.xml... (TaskId:33)
1>Done executing task "DeploymentFramework.BuildTasks.PublishWcfServiceArtifacts". (TaskId:33)
1>Done building target "AfterBuild" in project "*.InvoiceHub.IIS.csproj".: (TargetId:67)

Notice that on my local machine the Task Parameter is written to the log prior to the line "Exporting WCF service artifacts from WcfServiceDescription.xml...", but not on the build server.

I'm using V6.0

Any help on where to start troubleshooting would be great!

This work item was migrated from CodePlex

CodePlex work item ID: '11124'
Vote count: '1'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions