2 writes to ProjectName
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\BlazorTemplateTest.cs (1)
98
ProjectName
= projectName,
src\ProjectTemplates\Shared\ProjectFactoryFixture.cs (1)
52
project.
ProjectName
= $"AspNet.{project.ProjectGuid}";
14 references to ProjectName
Templates.Mvc.Tests (14)
BlazorTemplateTest.cs (3)
176
var singleProjectPath = Path.Combine(project.TemplateOutputDir, $"{project.
ProjectName
}.csproj");
182
var multiProjectPath = Path.Combine(project.TemplateOutputDir, project.
ProjectName
, $"{project.
ProjectName
}.csproj");
MvcTemplateTest.cs (2)
69
var projectFileContents = project.ReadFile($"{project.
ProjectName
}.{projectExtension}");
166
var projectFileContents = project.ReadFile($"{project.
ProjectName
}.csproj");
RazorPagesTemplateTest.cs (2)
61
var projectFileContents = ReadFile(project.TemplateOutputDir, $"{project.
ProjectName
}.csproj");
155
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
);