Can't start app in VS because Service Fabric locked file
Hrvoje Hudo
46
Reputation points
Developing .NET Core (v8) app that's deployed to local Service Fabric cluster (1 node).
App is deployed, but when I do some change in VS and try to start debugger again with F5, build fails because app DLL is locked by running app in the Service Fabric, so i have to manually go to SF and remove the app before i can redeploy/start debugging.
That worked fine before, but with latest few versions of SF and VS, it can't remove the SF app on its own before redeploying it.
Sign in to answer