* Creates the Umbraco.Templates.nuspec on build * Update nuspec to match nuget packages * Updated namespace of Program.cs and Startup.cs and replace these with the project name in templates * Bugfixes for sqlce * Simplified template to have one template with --UseSqlCe as option * Update build/build.ps1 Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com> Co-authored-by: Elitsa Marinovska <21998037+elit0451@users.noreply.github.com>
22 lines
571 B
C#
22 lines
571 B
C#
using Microsoft.AspNetCore.Hosting;
|
|
using Microsoft.Extensions.Hosting;
|
|
using Umbraco.Core.Composing;
|
|
|
|
namespace Umbraco.Web.UI.NetCore
|
|
{
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
CreateHostBuilder(args)
|
|
.Build()
|
|
.Run();
|
|
}
|
|
|
|
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
|
Host.CreateDefaultBuilder(args)
|
|
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); })
|
|
.UseUmbraco();
|
|
}
|
|
}
|