fixed cli arch
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user