Slicc
Slicc

Reputation: 3445

When building Service Fabric project on VSTS, there are two build tasks

I have a VSTS build definition that builds my Service Fabric project, it does this without problem.

When I look at the tasks in the build definition there are two build definitions one for [project name].sln and another for ***.sfproj. I did not create the individual build tasks, they were created when I used the Service Fabric build template.

Can anyone tell me why the *.sfproj build task is necessary?

Upvotes: 0

Views: 437

Answers (1)

tj-cappelletti
tj-cappelletti

Reputation: 1864

The answer is in the MSBuild arguments. The first Visual Studio build task compiles your entire solution. MSBuild arguments build the solution

The second Visual Studio build task packages your application for deployment. MSBuild arguments packages application

Upvotes: 3

Related Questions