Пример #1
0
        public void FindsOneProjectInFolderWithCsproj()
        {
            _projectFiles = _finder.FindAllProjectFiles(Path.Combine(SampleFileSystemPath, @"MyProject"));

            AssertFilesMatching(new[]
            {
                @"MyProject\MyProject.csproj"
            });
        }
Пример #2
0
        public void FindsOneProjectInFolderWithCsproj()
        {
            finder.SetProjectTypes(new[] { ProjectFileType.CSPROJ });
            projectFiles = finder.FindAllProjectFiles(Path.Combine(SampleFileSystemPath, @"MyProject"));

            AssertFilesMatching(new[]
            {
                @"MyProject\MyProject.csproj"
            });
        }