Open cs-un opened 5 years ago
By default on build VS runs the Service Fabric SDK's AppManifestCleanupUtil.exe against the Application Manifest. This is a tool that can remove stale references to services that have been removed and handle injecting the needed information for Actors. If you application manifest is stable, and/or you are willing to take on maintaining the manifest your self, you can disable this behavior by setting UpdateServiceFabricApplicationManifestEnabled to False.
@NCarlsonMSFT we're experiencing this issue in one of our Service Fabric projects. What is the reason for this utility re-ordering / rearranging comments? Is there a way to prevent the tool from doing this, without disabling it entirely?
Sorry @ayrtonmassey the AppManifestCleanupUtil tool is owned by the SF SDK not the VS Tools, so the VS tools can only control whether or not the it is run.
Custom XML comments move when you build your service fabric application.
Environment: Service Fabric SDK 3.1.2.176.9494, Visual Studio 15.9.7 Enterprise
Steps to reproduce: Create new service fabric stateless asp.net core web api project
Modify ApplicationManifest.xml and put comments "Test comment 1" and "Test Comment 2" as in code below.
Building the project makes the comments switch places.