コード例 #1
0
        public static TestableProject CreateProject(string fileName, string projectName)
        {
            var createInfo = new ProjectCreateInformation(FakeSolution.Create(), new FileName(fileName));

            createInfo.ProjectName = projectName;
            return(new TestableProject(createInfo));
        }
コード例 #2
0
        public static MSBuildBasedProject CreateCSharpProject()
        {
            var createInfo = new ProjectCreateInformation(FakeSolution.Create(), new FileName(@"d:\projects\MyProject\MyProject.csproj"));

            return(new MSBuildBasedProject(createInfo));
        }