2 instantiations of Project
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
94var subProject = new Project
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
44var project = new Project
34 references to Project
Templates.Mvc.Tests (34)
BlazorTemplateTest.cs (3)
55var project = await ProjectFactory.CreateProject(TestOutputHelper); 174private Task<string> ReadProjectFileAsync(Project project) 193private async Task WorkAroundNonNullableRenderModeAsync(Project project)
MvcTemplateTest.cs (5)
58var project = await ProjectFactory.CreateProject(Output); 150var project = await ProjectFactory.CreateProject(Output); 279var project = await ProjectFactory.CreateProject(Output); 353private async Task<Project> MvcTemplateBuildsAndPublishes(string auth, string[] args) 355var project = await ProjectFactory.CreateProject(Output);
RazorPagesTemplateTest.cs (4)
45var project = await ProjectFactory.CreateProject(Output); 138var project = await ProjectFactory.CreateProject(Output); 289private async Task<Project> BuildAndPublishRazorPagesTemplateIdentityWeb(string auth, string[] args) 291var project = await ProjectFactory.CreateProject(Output);
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (6)
44protected async Task<Project> CreateBuildPublishAsync(string auth = null, string[] args = null, string targetFramework = null, bool serverProject = false, bool onlyCreate = false) 49var project = await ProjectFactory.CreateProject(Output); 74var targetProject = project; 86protected static Project GetSubProject(Project project, string projectDirectory, string projectName) 94var subProject = new Project
src\ProjectTemplates\Shared\ErrorMessages.cs (2)
10public static string GetFailedProcessMessage(string step, Project project, ProcessResult processResult) 16public static string GetFailedProcessMessageOrEmpty(string step, Project project, ProcessEx process)
src\ProjectTemplates\Shared\Project.cs (3)
33var testLogFolder = typeof(Project).Assembly.GetCustomAttribute<TestFrameworkFileLoggerAttribute>()?.BaseDirectory; 54public static DevelopmentCertificate DevCert { get; } = DevelopmentCertificate.Get(typeof(Project).Assembly); 538var attribute = typeof(Project).Assembly.GetCustomAttributes<AssemblyMetadataAttribute>()
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (6)
18private readonly ConcurrentDictionary<string, Project> _projects = new ConcurrentDictionary<string, Project>(); 27public async Task<Project> CreateProject(ITestOutputHelper output) 31var project = CreateProjectImpl(output); 42private Project CreateProjectImpl(ITestOutputHelper output) 44var project = new Project
WebApiTemplateTest.cs (5)
158var project = await FactoryFixture.CreateProject(Output); 187var project = await FactoryFixture.CreateProject(Output); 214private async Task<Project> PublishAndBuildWebApiTemplate(string languageOverride, string auth, string[] args = null) 216var project = await FactoryFixture.CreateProject(Output); 250var project = await PublishAndBuildWebApiTemplate(languageOverride, null, args);