public static TestableProject CreateProject(string fileName, string projectName) { var createInfo = new ProjectCreateInformation(FakeSolution.Create(), new FileName(fileName)); createInfo.ProjectName = projectName; return(new TestableProject(createInfo)); }
public static MSBuildBasedProject CreateCSharpProject() { var createInfo = new ProjectCreateInformation(FakeSolution.Create(), new FileName(@"d:\projects\MyProject\MyProject.csproj")); return(new MSBuildBasedProject(createInfo)); }