diff --git a/cli/Makefile b/cli/Makefile index 0eb6f67c..29552695 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -11,4 +11,4 @@ bin/output/approot/run: project.lock.json dnu restore run: bin/output/approot/run - ASPNET_ENV=Development dnx run + ASPNET_ENV=Development ASPNET_LOG_LEVEL=Debug dnx run diff --git a/cli/Services/EMailer.cs b/cli/Services/EMailer.cs index a3b388b2..3035b250 100644 --- a/cli/Services/EMailer.cs +++ b/cli/Services/EMailer.cs @@ -138,7 +138,7 @@ namespace cli.Services ms.Seek(0, SeekOrigin.Begin); Assembly assembly = Assembly.Load(ms.ToArray()); - Type type = assembly.GetType(className); + Type type = assembly.GetType(DefaultNamespace+"."+className); var generatedtemplate = (UserOrientedTemplate) Activator.CreateInstance(type); logger.LogInformation(generatedtemplate.ToString()); foreach (var user in dbContext.ApplicationUser) {