thanks to my new devenv

This commit is contained in:
2019-06-08 23:10:48 +01:00
parent 4da630a8f6
commit 1e18f0ff20
7 changed files with 3 additions and 11 deletions

View File

@ -11,7 +11,6 @@ using Yavsc.Models;
using Yavsc.Models.Google.Messaging; using Yavsc.Models.Google.Messaging;
using Yavsc.Models.Haircut; using Yavsc.Models.Haircut;
using Yavsc.Models.Messaging; using Yavsc.Models.Messaging;
using Yavsc.Services;
namespace Yavsc.Services namespace Yavsc.Services
{ {

View File

@ -1,7 +1,6 @@
 
using System; using System;
using cli.Commands; using cli.Commands;
using cli.Services;
using Microsoft.Extensions.CommandLineUtils; using Microsoft.Extensions.CommandLineUtils;
namespace cli namespace cli

View File

@ -25,7 +25,6 @@ using System.Runtime.Versioning;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Extensions.CodeGeneration.EntityFramework; using Microsoft.Extensions.CodeGeneration.EntityFramework;
using Microsoft.Extensions.CodeGeneration.Templating.Compilation;
using System.Linq; using System.Linq;
namespace cli namespace cli

View File

@ -1 +0,0 @@
["-s","/home/paul/workspace/yavsc/src/Yavsc","--hostPID","21136","DotNet:enablePackageRestore=false","--encoding","utf-8","--loglevel","trace","MsBuild:LoadProjectsOnDemand=true","RoslynExtensionsOptions:EnableAnalyzersSupport=true"]

View File

@ -1,15 +1,14 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Json;
using System.Linq;
using System.Net;
using System.Net.Http; using System.Net.Http;
using System.Net.Http.Headers; using System.Net.Http.Headers;
using System.Threading; using System.Threading;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Mvc; using Microsoft.AspNet.Mvc;
using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging;
using Yavsc.Server.Helpers;
using Yavsc.Server.Model;
namespace testOauthClient.Controllers namespace testOauthClient.Controllers
{ {

View File

@ -1,5 +1,3 @@
using System;
namespace test.Settings namespace test.Settings
{ {
public class DbConnectionSettings public class DbConnectionSettings

View File

@ -12,7 +12,6 @@ using Yavsc.Models;
using Yavsc.Services; using Yavsc.Services;
using Microsoft.Data.Entity; using Microsoft.Data.Entity;
using Microsoft.Extensions.WebEncoders; using Microsoft.Extensions.WebEncoders;
using Yavsc.Lib;
using test.Settings; using test.Settings;
namespace test namespace test
@ -62,7 +61,7 @@ namespace test
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>(); services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>();
services.AddTransient((s) => new RazorTemplateEngine(s.GetService<RazorEngineHost>())); services.AddTransient((s) => new RazorTemplateEngine(s.GetService<RazorEngineHost>()));
services.AddLogging(); services.AddLogging();
services.AddTransient<EMailer>(); services.AddTransient<MailSender>();
services.AddLocalization(options => services.AddLocalization(options =>
{ {
options.ResourcesPath = "Resources"; options.ResourcesPath = "Resources";