[英]Service Fabric is Removing the ResourceOverrides on Visual Studio build
Using Visual Studio 2017 15.3.3, Service Fabric SDK 2.7 Runtime 5.7, I am trying to use the ResourceOverrides of the Application Manifest. 使用Visual Studio 2017 15.3.3,Service Fabric SDK 2.7运行时5.7,我尝试使用应用程序清单的ResourceOverrides。
I am following the documentation below to create multiple deployment environments: https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-service-manifest-resources 我正在遵循下面的文档来创建多个部署环境: https : //docs.microsoft.com/zh-cn/azure/service-fabric/service-fabric-service-manifest-resources
And 和
https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-manage-multiple-environment-app-configuration https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-manage-multiple-environment-app-configuration
Every time I hit the "Run" on my Visual Studio to launch my stateless website, the ResourceOverrides disappears from the manifest (like magic!). 每当我在Visual Studio中点击“运行”以启动我的无状态网站时,ResourceOverrides就会从清单中消失(就像魔术一样!)。
Any idea why I'm getting this? 知道我为什么要得到这个吗? Are you aware of any other way to change the ports binding per deployment environment?
您是否知道任何其他方法可以更改每个部署环境的端口绑定?
此问题正在此处跟踪: https : //github.com/Azure/service-fabric-issues/issues/447
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.