23 lines
687 B
C#
23 lines
687 B
C#
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
|
|
namespace AspNetCoreSdkTests.Templates
|
|
{
|
|
public class WebTemplate : ConsoleApplicationTemplate
|
|
{
|
|
public new static WebTemplate Instance { get; } = new WebTemplate();
|
|
|
|
protected WebTemplate() { }
|
|
|
|
public override string Name => "web";
|
|
|
|
public override IEnumerable<string> ExpectedObjFilesAfterBuild => Enumerable.Concat(base.ExpectedObjFilesAfterBuild, new[]
|
|
{
|
|
$"{Name}.RazorAssemblyInfo.cache",
|
|
$"{Name}.RazorAssemblyInfo.cs",
|
|
$"{Name}.RazorTargetAssemblyInfo.cache",
|
|
}.Select(p => Path.Combine(OutputPath, p)));
|
|
}
|
|
}
|