I'd keep it in a separate solution. For your code's solution it doesn't matter what you reference, debug or release, as long as you distribute it with the release version of your generated code
When you keep it in a separate solution, you keep your own solution more compact, which makes life inside visual studio a bit better