Reputation: 3445
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
Reputation: 1864
The answer is in the MSBuild arguments. The first Visual Studio build task compiles your entire solution.
The second Visual Studio build task packages your application for deployment.
Upvotes: 3