Add WebTemplate
This commit is contained in:
parent
6fec0dc8e9
commit
3a041176e9
|
|
@ -8,6 +8,7 @@ namespace AspNetCoreSdkTests.Templates
|
||||||
{
|
{
|
||||||
new ClassLibraryTemplate(),
|
new ClassLibraryTemplate(),
|
||||||
new ConsoleApplicationTemplate(),
|
new ConsoleApplicationTemplate(),
|
||||||
|
new WebTemplate(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,21 @@
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace AspNetCoreSdkTests.Templates
|
namespace AspNetCoreSdkTests.Templates
|
||||||
{
|
{
|
||||||
public class WebTemplate : ConsoleApplicationTemplate
|
public class WebTemplate : ConsoleApplicationTemplate
|
||||||
{
|
{
|
||||||
public override string Name => "web";
|
public override string Name => "web";
|
||||||
|
|
||||||
public override TemplateType Type => TemplateType.Application;
|
public override TemplateType Type => TemplateType.Application;
|
||||||
|
|
||||||
public override IEnumerable<string> ExpectedObjFilesAfterRestore => throw new System.NotImplementedException();
|
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)));
|
||||||
|
|
||||||
public override IEnumerable<string> ExpectedObjFilesAfterBuild => throw new System.NotImplementedException();
|
|
||||||
|
|
||||||
public override IEnumerable<string> ExpectedBinFilesAfterBuild => throw new System.NotImplementedException();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue