One-fund theorem states that an efficient portfolio in a Mean-Variance (M-V) portfolioselection problem for a set of some risky assets and a riskless asset can be representedby a combination of a unique risky fund (tangency portfolio) and the riskless asset. Inthis paper, we introduce a method for which the tangency portfolio can be produced as acorner portfolio. So, the tangency portfolio can be computed easily and fast by anyalgorithm designed for tracing out the M-V efficient frontier via computing the cornerportfolios. Moreover, we show that how this method can be used for tracing out the M-Vefficient frontier when problem contains a riskless asset in which the borrowing is notallowed.