public IProject GetDefaultProject()
{
IProject result = null;
if (CurrentSolution != null)
{
if (CurrentSolution.StartupProject != null)
{
result = CurrentSolution.StartupProject;
}
else
{
Console.WriteLine("No Default project is set in the solution.");
}
}
else
{
Console.WriteLine("No Solution is loaded.");
}
return result;
}