One problem with the "how much would you have to spend to buy the company" is that it gives you a much larger answer than the "how much would you collect if you sold the company," but it's hard to see why one measure should be preferred over the other.
It's true that the spot price only measures the valuation at the margin, but the margin is set by the consensus of the market participants (if anyone disagrees with it, they are free to buy or sell until they agree). The price at the margin of trading also reflects expectations of the company without any change in management (which is one reason that trying to buy or sell a whole company can cost much more or less than the spot price).