解决方法
唉,我想出了很多gooogling之后!
在connect.cs中:
public String SolutionPath() { return Path.GetDirectoryName(_applicationObject.Solution.FullName); }