2 writes to ProjectName
Templates.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
98ProjectName = projectName,
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
52project.ProjectName = $"AspNet.{project.ProjectGuid}";
10 references to ProjectName
Templates.Tests (10)
BaselineTest.cs (2)
80expectedFiles = expectedFiles.Select(f => f.Replace("{ProjectName}", Project.ProjectName)).ToArray(); 115Assert.StartsWith(Project.ProjectName, namespaceDeclaration, StringComparison.Ordinal);
IdentityUIPackageTest.cs (1)
110var projectFileContents = ReadFile(project.TemplateOutputDir, $"{project.ProjectName}.csproj");
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
77targetProject = GetSubProject(project, "Server", $"{project.ProjectName}.Server");
src\ProjectTemplates\Shared\Project.cs (5)
208var projectDll = Path.Combine(TemplateBuildDir, $"{ProjectName}.dll"); 223var projectDll = Path.Combine(TemplatePublishDir, $"{ProjectName}.dll"); 528Assert.True(File.Exists(sourceFile), $"Log for '{ProjectName}' not found in '{sourceFile}'. Execution output: {result.Output}"); 529var destination = Path.Combine(ArtifactsLogDir, ProjectName + ".binlog"); 534public override string ToString() => $"{ProjectName}: {TemplateOutputDir}";
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
56project.TemplateOutputDir = Path.Combine(basePath, project.ProjectName);