From 2490970a84c7a542d3af4559053fbc2b470c02a6 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Thu, 26 Apr 2018 10:51:39 +0200 Subject: [PATCH] fixed cli arch --- cli/Makefile | 2 +- cli/Services/EMailer.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {