Azure/SFNuGet

Update-ServicePackageFiles: first *.exe in code-directory is used to update package.xml

Closed this issue · 2 comments

The function 'Update-ServicePackageFiles' uses following code to select the main-exe of the ServiceFabric-Application.

$execFile = Get-ChildItem $path\Code *.exe | Select-Object -First 1

Code ends up using wrong assemblies to update the Package.xml....

The function has a parameter $svcManifestFile which contains the name of the exe that is supposed to be used. Why not read from the ServiceManifest.xml ?

Hi @JohannesDrexler: Thank you for your report. I've just checked in a fix as per suggested.

Thank you very much for checking this. I have tested your fix and it works for me.