Update aspnet50/aspnetcore50 => dnx451/dnxcore50.

This commit is contained in:
N. Taylor Mullen 2015-03-08 12:51:04 -07:00
parent 8542a676cb
commit 1ed37d741a
9 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
{
{
"authors": [
"Microsoft"
],
@ -28,9 +28,9 @@
},
"webroot": ".",
"frameworks": {
"aspnet50": {
"dnx451": {
},
"aspnetcore50": {
"dnxcore50": {
}
}
}

View File

@ -1,14 +1,14 @@
{
{
"version": "3.0.0-*",
"dependencies": {
"Microsoft.AspNet.Identity": "3.0.0-*",
"EntityFramework.SqlServer": "7.0.0-*"
},
"frameworks": {
"aspnet50": {
"dnx451": {
"dependencies": { }
},
"aspnetcore50": {
"dnxcore50": {
"dependencies": {
"System.Collections": "4.0.10-beta-*",
"System.ComponentModel": "4.0.0-beta-*",

View File

@ -1,9 +1,9 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
#if ASPNET50
#if DNX451
using System.Net.Mail;
#endif
using System.Text.RegularExpressions;
@ -82,7 +82,7 @@ namespace Microsoft.AspNet.Identity
errors.Add(Describer.InvalidEmail(email));
return;
}
#if ASPNET50
#if DNX451
try
{
var m = new MailAddress(email);

View File

@ -1,4 +1,4 @@
{
{
"version": "3.0.0-*",
"dependencies": {
"Microsoft.AspNet.Authentication" : "1.0.0-*",
@ -11,8 +11,8 @@
"Microsoft.Framework.OptionsModel": "1.0.0-*"
},
"frameworks": {
"aspnet50": {},
"aspnetcore50": {
"dnx451": {},
"dnxcore50": {
"dependencies": {
"System.Collections": "4.0.10-beta-*",
"System.ComponentModel": "4.0.0-beta-*",

View File

@ -1,4 +1,4 @@
{
{
"dependencies": {
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Http": "1.0.0-*",
@ -14,7 +14,7 @@
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
"aspnet50": {
"dnx451": {
"dependencies": {
"Moq" : "4.2.1312.1622"
}

View File

@ -1,4 +1,4 @@
{
{
"dependencies": {
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Http": "1.0.0-*",
@ -15,7 +15,7 @@
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
"aspnet50": {
"dnx451": {
"dependencies": {
"Moq" : "4.2.1312.1622"
}

View File

@ -1,4 +1,4 @@
{
{
"dependencies": {
"Microsoft.AspNet.Hosting": "1.0.0-*",
"Microsoft.AspNet.Http" : "1.0.0-*",
@ -14,7 +14,7 @@
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
"aspnet50": {
"dnx451": {
"dependencies": {
"Moq" : "4.2.1312.1622"
}

View File

@ -1,4 +1,4 @@
{
{
"dependencies": {
"Microsoft.AspNet.Hosting" : "1.0.0-*",
"Microsoft.AspNet.Http" : "1.0.0-*",
@ -12,7 +12,7 @@
},
"code": "**\\*.cs;..\\Shared\\*.cs",
"frameworks": {
"aspnet50": {
"dnx451": {
"dependencies": {
"Moq" : "4.2.1312.1622"
}

View File

@ -1,4 +1,4 @@
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
@ -205,7 +205,7 @@ namespace Microsoft.AspNet.Identity.Test
IdentityResultAssert.IsFailure(await manager.CreateAsync(user), IdentityErrorDescriber.Default.InvalidEmail(email));
}
#if ASPNET50
#if DNX451
[Theory]
[InlineData("@@afd")]
[InlineData("bogus")]