When I Publish and run from VS Code it is pointing to an old server, I had BC210 as a server name but added a new one BC220. All was working fine but now for some reason when publish and run it tries to open on old BC210 i.e.:
"">localhost:8080/.../
that should have BC220 in the URL
I checked the config and launch.json and searched the whole project for any reference to BC210 and nothing shows up. In fact I have searched for BC210 using windows explorer in both the vs Code workspace and also the "C:\Program Files\Microsoft Dynamics 365 Business Central" and there is no result for BC210 at all.
Does anyone know why this might happen, am thinking some caching going on that I need to clear perhaps?
Thanks