Switching to generations TFMs

This commit is contained in:
Pranav K 2015-10-22 01:27:52 -07:00
parent 4ce3efd28f
commit f6a28b09a2
3 changed files with 9 additions and 9 deletions

View File

@ -10,12 +10,12 @@
"EntityFramework.Relational": "7.0.0-*"
},
"frameworks": {
"dnx451": {
"net451": {
"frameworkAssemblies": {
"System.Threading.Tasks": ""
}
},
"dnxcore50": {
"dotnet5.4": {
"dependencies": {
"System.Collections": "4.0.11-beta-*",
"System.ComponentModel": "4.0.1-beta-*",
@ -37,4 +37,4 @@
}
}
}
}
}

View File

@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
#if DNX451
#if NET451
using System.Net.Mail;
#endif
using System.Text.RegularExpressions;
@ -91,7 +91,7 @@ namespace Microsoft.AspNet.Identity
errors.Add(Describer.InvalidEmail(email));
return;
}
#if DNX451
#if NET451
try
{
var m = new MailAddress(email);

View File

@ -8,11 +8,11 @@
"dependencies": {
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNet.Cryptography.KeyDerivation": "1.0.0-*",
"Microsoft.AspNet.Hosting.Abstractions" : "1.0.0-*"
"Microsoft.AspNet.Hosting.Abstractions": "1.0.0-*"
},
"frameworks": {
"dnx451": {},
"dnxcore50": {
"net451": {},
"dotnet5.4": {
"dependencies": {
"System.ComponentModel": "4.0.1-beta-*",
"System.Diagnostics.Debug": "4.0.11-beta-*",
@ -25,4 +25,4 @@
}
}
}
}
}