- Create RegistrationService to register VS instances with WebAPI - Registers on startup with: port, process ID, solution info - Reads WebApiUrl from ConfigurationService - Sends heartbeat every N seconds (configurable) - Unregisters on shutdown - Gracefully handles registration failures (VS extension works standalone) - Update RoslynBridgePackage to use RegistrationService - Creates BridgeServer and gets actual port used - Registers with WebAPI using discovered port - Cleans up registration on disposal This enables the WebAPI middleware to discover and route requests to the correct Visual Studio instance based on solution path, port, or PID. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.3 KiB
2.3 KiB