Files
RoslynBridge/RoslynBridge
AJ Isaacs 1ad0a98d4d Implement automatic port discovery for multi-instance support
- Update BridgeServer to try multiple ports sequentially
  - Reads DefaultPort and MaxPortRange from ConfigurationService
  - Tries ports from DefaultPort to DefaultPort+MaxPortRange
  - Updates _port field to the port that successfully starts
  - Throws exception if no available ports found

- Make _port field mutable to store discovered port
- Add public Port property to expose the actual port being used
- Make startPort parameter optional (nullable), defaults to config value

- Add WriteRawResponseAsync helper method for future use

This allows multiple Visual Studio instances to run simultaneously,
each with their own Roslyn Bridge server on different ports.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 23:51:08 -04:00
..
2025-10-25 11:03:29 -04:00
2025-10-25 11:03:29 -04:00
2025-10-25 11:03:29 -04:00

See documentation for setup and instructions.