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