Reputation: 20119
Is it possible to save a whole C# solution in one single text file? I vaguely remember a tool (VS add-on?) to do this, but I cannot find it.
WARNING: This is highly likely a duplicate, and I would be happy to delete the post if so, but I haven't been able to find the answer in SO.
Upvotes: 2
Views: 399
Reputation: 44323
I doubt that this would be possible.
A solution consists of a number of completely different file types, each in their own format, with a different purpose:
So there we have at least four different file formats: non-XML text, XML, plaintext, and binary.
Perhaps the only way that you could achieve the combination of all these disparate file types into a single file would be to have some mechanism to magically extract all of the separate files out from your single file, present them to the development and build tools as if everything were normal, and then magically re-combine them back into the single file after.
That would be roughly equivalent to taking the entire solution directory and running it through WinZip to produce a single file (a compressed file, to boot!) though perhaps witha more seamless integration via a Visual Studio Add-In.
Upvotes: 2