简体   繁体   中英

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.

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

And

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!).

Any idea why I'm getting this? Are you aware of any other way to change the ports binding per deployment environment?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM