One file extension (like ".sln") can only have one default action (used for double click in Explorer).
The only way to do what you want would be to create a helper program that looked inside the file, worked out which tool it was created with and then launched that tool. It is possible such a tool has already been written, if not I'm sure you would find others wanting to use it as well if you wrote it.