【发布时间】:2018-05-04 03:55:16
【问题描述】:
我有一个解决办法:
Solution1
--ConfigProject
----AppManifest.xml
----ServiceManifest.xml
--Project1
--Project2
ServiceManifest.xml 如下所示:
<ServiceManifest>
...............
<Resources>
<Endpoints>
<!-- This endpoint is used by the communication listener to obtain the port on which to
listen. Please note that if your service is partitioned, this port is shared with
replicas of different partitions that are placed in your code. -->
<Endpoint Protocol="https" Name="ServiceEndpoint" Type="Input" />
</Endpoints>
</Resources>
</ServiceManifest>
在不依赖 c# 代码的情况下,是否可以添加一个预构建步骤,该步骤将根据 AppManifest.xml 中的设置转换 ServiceManifest 文件中的 Resources 部分文件?
【问题讨论】:
标签: c# .net visual-studio-2017 azure-service-fabric