fixed cli arch

vnext
Paul Schneider 6 years ago
parent 78178b6607
commit 718a7b8102
2 changed files with 2 additions and 2 deletions

@ -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

@ -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) {

Loading…