[POUR MORCEAUX]
This commit is contained in:
@ -2,14 +2,15 @@ using System;
|
||||
using System.Diagnostics;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.AspNet.Hosting.Server;
|
||||
using Microsoft.AspNet.Identity;
|
||||
using Microsoft.Extensions.CommandLineUtils;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
using Yavsc.Models;
|
||||
using Yavsc.Services;
|
||||
using Microsoft.AspNet.Builder;
|
||||
using Microsoft.AspNet.Builder.Internal;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
|
||||
namespace cli
|
||||
{
|
||||
@ -77,23 +78,31 @@ public class Program
|
||||
Console.WriteLine(greeting);
|
||||
IServiceCollection services = new ServiceCollection();
|
||||
// Startup.cs finally :)
|
||||
|
||||
//EntryPoint.Main(new string[] {});
|
||||
|
||||
IHostingEnvironment hosting = new HostingEnvironment{ EnvironmentName = environmentName };
|
||||
var test = PlatformServices.Create (null);
|
||||
|
||||
var basePath = AppDomain.CurrentDomain.BaseDirectory;
|
||||
// FIXME null ref var appName = AppDomain.CurrentDomain.ApplicationIdentity.FullName;
|
||||
|
||||
PlatformServices.SetDefault (test);
|
||||
// var rtdcontext = new System.Runtime.DesignerServices.WindowsRuntimeDesignerContext (new string { "." }, "nonname");
|
||||
|
||||
// hosting.Initialize("approot", config);
|
||||
|
||||
// ApplicationHostContext apphostcontext = new ApplicationHostContext ();
|
||||
IServiceProvider serviceProvider = services.BuildServiceProvider();
|
||||
IApplicationBuilder iappbuilder = new ApplicationBuilder(serviceProvider);
|
||||
iappbuilder.ApplicationServices = serviceProvider;
|
||||
|
||||
|
||||
Startup startup = new Startup(hosting, null);
|
||||
startup.ConfigureServices(services);
|
||||
IServiceProvider serviceProvider = services.BuildServiceProvider();
|
||||
Startup startup = new Startup(hosting, PlatformServices.Default.Application);
|
||||
|
||||
//configure console logging
|
||||
serviceProvider
|
||||
.GetService<ILoggerFactory>()
|
||||
.AddConsole(LogLevel.Debug);
|
||||
|
||||
|
||||
var logger = serviceProvider.GetService<ILoggerFactory>()
|
||||
.CreateLogger<Program>();
|
||||
|
||||
@ -102,7 +111,7 @@ public class Program
|
||||
var userManager = serviceProvider.GetService<UserManager<ApplicationUser> >();
|
||||
var emailSender = serviceProvider.GetService<IEmailSender>();
|
||||
|
||||
foreach (var user in userManager.Users)
|
||||
foreach (var user in userManager?.Users)
|
||||
{
|
||||
Task.Run(async () =>
|
||||
await emailSender.SendEmailAsync(Startup.SiteSetup, Startup.SmtpSettup, Startup.SiteSetup.Owner.Name, Startup.SiteSetup.Owner.EMail,
|
||||
|
@ -3,11 +3,13 @@ using Microsoft.AspNet.Hosting;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.OptionsModel;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
using Microsoft.Framework.Configuration;
|
||||
using Newtonsoft.Json;
|
||||
using Yavsc;
|
||||
using Yavsc.Models;
|
||||
using Yavsc.Auth;
|
||||
using Microsoft.AspNet.Identity.EntityFramework;
|
||||
using Microsoft.AspNet.Identity;
|
||||
|
||||
namespace cli
|
||||
{
|
||||
@ -20,6 +22,8 @@ namespace cli
|
||||
public static SmtpSettings SmtpSettup { get; private set; }
|
||||
public IConfigurationRoot Configuration { get; set; }
|
||||
public string ConnectionString { get; private set; }
|
||||
public static MonoDataProtectionProvider ProtectionProvider { get; private set; }
|
||||
public static IdentityOptions AppIdentityOptions { get; private set; }
|
||||
|
||||
// Use this method to add services to the container.
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
@ -37,6 +41,13 @@ namespace cli
|
||||
|
||||
services.Configure<SiteSettings>((o)=> JsonConvert.PopulateObject(Configuration["Site"],o));
|
||||
services.Configure<SmtpSettings>((o)=> JsonConvert.PopulateObject(Configuration["Smtp"],o));
|
||||
|
||||
ProtectionProvider = new MonoDataProtectionProvider(Configuration["Site:Title"]); ;
|
||||
services.AddInstance<MonoDataProtectionProvider>
|
||||
(ProtectionProvider);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -48,7 +59,7 @@ namespace cli
|
||||
SmtpSettup = smtpSettingsOptions.Value;
|
||||
}
|
||||
|
||||
public Startup(IHostingEnvironment env, IApplicationEnvironment appEnv)
|
||||
public Startup(IHostingEnvironment env, IApplicationBuilder app)
|
||||
{
|
||||
var devtag = env.IsDevelopment()?"D":"";
|
||||
var prodtag = env.IsProduction()?"P":"";
|
||||
|
146
cli/cli.csproj
146
cli/cli.csproj
@ -8,6 +8,8 @@
|
||||
<RootNamespace>cli</RootNamespace>
|
||||
<AssemblyName>cli</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.1</TargetFrameworkVersion>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
@ -31,9 +33,6 @@
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="Microsoft.Extensions.CommandLineUtils">
|
||||
<HintPath>..\packages\Microsoft.Extensions.CommandLineUtils.1.1.1\lib\net451\Microsoft.Extensions.CommandLineUtils.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json">
|
||||
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
@ -55,57 +54,9 @@
|
||||
<Reference Include="Microsoft.CodeAnalysis">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.CodeAnalysis.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.ApplicationHost">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.ApplicationHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp.Common">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.DesignTime">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.DesignTime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.DesignTimeHost.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.DesignTimeHost.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Host">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Host.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Host.Mono">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Host.Mono.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Loader">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Loader.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Runtime">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Runtime.Internals">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Runtime.Internals.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.PlatformAbstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Extensions.PlatformAbstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Collections.Immutable">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\System.Collections.Immutable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Reflection.Metadata">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\System.Reflection.Metadata.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.Hosting">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\packages\Microsoft.AspNet.Hosting\1.0.0-rc1-final\lib\net451\Microsoft.AspNet.Hosting.dll</HintPath>
|
||||
</Reference>
|
||||
@ -222,6 +173,93 @@
|
||||
<Reference Include="Microsoft.Extensions.Configuration">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\packages\Microsoft.Extensions.Configuration\1.0.0-rc1-final\lib\net451\Microsoft.Extensions.Configuration.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Framework.Configuration.FileExtensions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\packages\Microsoft.Framework.Configuration.FileExtensions\1.0.0-beta8\lib\net45\Microsoft.Framework.Configuration.FileExtensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Caching.Abstractions">
|
||||
<HintPath>packages\Microsoft.Extensions.Caching.Abstractions.1.0.0-rc1-final\lib\net451\Microsoft.Extensions.Caching.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Caching.Memory">
|
||||
<HintPath>packages\Microsoft.Extensions.Caching.Memory.1.0.0-rc1-final\lib\net451\Microsoft.Extensions.Caching.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Remotion.Linq">
|
||||
<HintPath>packages\Remotion.Linq.2.0.1\lib\net45\Remotion.Linq.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\packages\System.Diagnostics.DiagnosticSource\4.0.0-beta-23516\lib\portable-net45+win8+wp8+wpa81\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Localization.Abstractions">
|
||||
<HintPath>packages\Microsoft.Extensions.Localization.Abstractions.1.0.0-rc1-final\lib\net451\Microsoft.Extensions.Localization.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.Authentication.Cookies">
|
||||
<HintPath>packages\Microsoft.AspNet.Authentication.Cookies.1.0.0-rc1-final\lib\net451\Microsoft.AspNet.Authentication.Cookies.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.DataProtection">
|
||||
<HintPath>packages\Microsoft.AspNet.DataProtection.1.0.0-rc1-final\lib\net451\Microsoft.AspNet.DataProtection.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.AspNet.DataProtection.Abstractions">
|
||||
<HintPath>packages\Microsoft.AspNet.DataProtection.Abstractions.1.0.0-rc1-final\lib\net451\Microsoft.AspNet.DataProtection.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Owin">
|
||||
<HintPath>packages\Owin.1.0\lib\net40\Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Owin">
|
||||
<HintPath>packages\Microsoft.Owin.4.0.0\lib\net451\Microsoft.Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Reflection.Metadata">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\System.Reflection.Metadata.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.PlatformAbstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Extensions.PlatformAbstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Runtime.Internals">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Runtime.Internals.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Runtime">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Runtime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Loader">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Loader.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Host">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Host.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.DesignTimeHost.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.DesignTimeHost.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.DesignTime">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.DesignTime.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp.Common">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.CSharp.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.CSharp.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Compilation.Abstractions">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.Compilation.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.ApplicationHost">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-coreclr-linux-x64.1.0.0-rc1-update2\bin\Microsoft.Dnx.ApplicationHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.DesignTimeHost">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\lib\Microsoft.Dnx.DesignTimeHost\Microsoft.Dnx.DesignTimeHost.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Dnx.Host.Mono">
|
||||
<HintPath>..\..\..\..\..\srv\www\dnx\runtimes\dnx-mono.1.0.0-rc1-update2\bin\Microsoft.Dnx.Host.Mono.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.CommandLineUtils">
|
||||
<HintPath>packages\Microsoft.Extensions.CommandLineUtils.1.1.1\lib\net451\Microsoft.Extensions.CommandLineUtils.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
@ -231,5 +269,11 @@
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
<None Include="appsettings.Development.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="appsettings.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,20 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="EntityFramework.Commands" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.Core" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.MicrosoftSqlServer" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.Relational" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework7.Npgsql" version="3.1.0-rc1-3" targetFramework="net451" />
|
||||
<package id="EntityFramework7.Npgsql.Design" version="3.1.0-rc1-5" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.Authentication.Cookies" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.DataProtection" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.DataProtection.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.Http.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.4" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.4" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.SignalR.Client" version="2.2.1" targetFramework="net451" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.2.4" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.CommandLineUtils" version="1.1.1" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Caching.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Caching.Memory" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Configuration.FileExtensions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Configuration.UserSecrets" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Localization.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Options" version="0.0.1-alpha" targetFramework="net451" />
|
||||
<package id="Microsoft.Framework.Configuration.FileExtensions" version="1.0.0-beta8" targetFramework="net451" />
|
||||
<package id="Microsoft.Owin" version="4.0.0" targetFramework="net451" />
|
||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" targetFramework="net451" />
|
||||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.CommandLineUtils" version="1.1.1" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Configuration.UserSecrets" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.Commands" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.Core" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.MicrosoftSqlServer" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework.Relational" version="7.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="EntityFramework7.Npgsql" version="3.1.0-rc1-3" targetFramework="net451" />
|
||||
<package id="EntityFramework7.Npgsql.Design" version="3.1.0-rc1-5" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="1.0.0-rc1-final" targetFramework="net451" />
|
||||
<package id="Microsoft.Extensions.Options" version="0.0.1-alpha" targetFramework="net451" />
|
||||
<package id="Owin" version="1.0" targetFramework="net451" />
|
||||
<package id="Remotion.Linq" version="2.0.1" targetFramework="net451" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="4.0.0-beta-23516" targetFramework="net45" />
|
||||
<package id="Microsoft.Extensions.CommandLineUtils" version="1.1.1" targetFramework="net451" />
|
||||
</packages>
|
@ -1,21 +0,0 @@
|
||||
{
|
||||
"version": "1.0.0-*",
|
||||
"description": "Yavsc command line interface",
|
||||
"dependencies": {
|
||||
"Yavsc": {
|
||||
"type": "build"
|
||||
},
|
||||
"Microsoft.Extensions.CommandLineUtils": "1.1.1",
|
||||
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-rc1-final"
|
||||
},
|
||||
"frameworks": {
|
||||
"dnx451": {
|
||||
"frameworkAssemblies": {
|
||||
"System.ServiceProcess": "4.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"run": "cli"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user