Fixing tests and removing NuGet warnings

This commit is contained in:
Pranav K 2016-04-03 09:57:15 -07:00
parent 6339d9ed96
commit 63c61ac5ac
3 changed files with 4 additions and 6 deletions

View File

@ -26,8 +26,7 @@
"Microsoft.Extensions.Configuration.UserSecrets": "1.0.0-*",
"Microsoft.Extensions.Logging.Console": "1.0.0-*",
"Microsoft.Extensions.Logging.Debug": "1.0.0-*",
"Microsoft.NETCore.Platforms": "1.0.1-*",
"System.IO": "4.1.0-*"
"Microsoft.NETCore.Platforms": "1.0.1-*"
},
"compilationOptions": {
"emitEntryPoint": true

View File

@ -1,6 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using Microsoft.Extensions.Configuration;
namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities
@ -12,7 +13,7 @@ namespace Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test.Utilities
static TestEnvironment()
{
var configBuilder = new ConfigurationBuilder()
.SetBasePath(".")
.SetBasePath(Directory.GetCurrentDirectory())
.AddJsonFile("config.json", optional: true)
.AddJsonFile("config.test.json", optional: true)
.AddEnvironmentVariables();

View File

@ -17,10 +17,8 @@
"netstandardapp1.5": {
"dependencies": {
"moq.netcore": "4.4.0-beta8",
"System.Xml.ReaderWriter": "4.0.10-*",
"dotnet-test-xunit": "1.0.0-dev-*",
"NETStandard.Library": "1.5.0-*",
"System.Diagnostics.Process": "4.1.0-*"
"NETStandard.Library": "1.5.0-*"
},
"imports": [
"dnxcore50",