Command-line Package Service Fabric Application

前端 未结 5 1341
Happy的楠姐
Happy的楠姐 2021-02-08 21:47

Our continuous delivery set-up, until recently, was delivering Service Fabric packages using the following command:

msbuild SFApp.sfproj /t:Package
5条回答
  •  别那么骄傲
    2021-02-08 22:32

    Use the below script.

    C:\Program Files (x86)\Microsoft Visual Studio 14.0> msbuild "Fabric.sfproj" /t:Package /p:Configuration=Release

    Service fabric requires Target to be set in x64 platform, So change all you reference projects target to x64 platform.

    you can do this by using configuration properties of your solution. If x64 is not listed in 'Configuration Properties' click configuration manager in the same window and under platform column for the required project add new project platform as x64.

    Hope this works for you.

提交回复
热议问题