Revert "removing SolutionDir var condition set"

This reverts commit f4705e0c7ccfa9721e5eb38ef8a7f1097867740e.