Solution2 is an interface, not a class. You cannot directly create an object of type Solution2, but only reference objects like Solution2 that contain the Solution2 interface.
As far as I know, the classes that implement the Solution2 interface are only available as part of the collection of interfaces in Visual Studio integration, so you will need to do something similar to what RichieHindle mentions and create a new hidden Visual Studio instance to load the solution.
If you just want to take a couple of settings from the sln file, I would recommend it myself, the file format is pretty simple. If you are trying to pull out the setup, most likely an odd-edge case where the parsing of sln will not work, will also not work with what you are trying to do if Visual Studio parsed sln for you.
source share