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-*" "EntityFramework.Relational": "7.0.0-*"
}, },
"frameworks": { "frameworks": {
"dnx451": { "net451": {
"frameworkAssemblies": { "frameworkAssemblies": {
"System.Threading.Tasks": "" "System.Threading.Tasks": ""
} }
}, },
"dnxcore50": { "dotnet5.4": {
"dependencies": { "dependencies": {
"System.Collections": "4.0.11-beta-*", "System.Collections": "4.0.11-beta-*",
"System.ComponentModel": "4.0.1-beta-*", "System.ComponentModel": "4.0.1-beta-*",
@ -37,4 +37,4 @@
} }
} }
} }
} }

View File

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

View File

@ -8,11 +8,11 @@
"dependencies": { "dependencies": {
"Microsoft.AspNet.Authentication.Cookies": "1.0.0-*", "Microsoft.AspNet.Authentication.Cookies": "1.0.0-*",
"Microsoft.AspNet.Cryptography.KeyDerivation": "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": { "frameworks": {
"dnx451": {}, "net451": {},
"dnxcore50": { "dotnet5.4": {
"dependencies": { "dependencies": {
"System.ComponentModel": "4.0.1-beta-*", "System.ComponentModel": "4.0.1-beta-*",
"System.Diagnostics.Debug": "4.0.11-beta-*", "System.Diagnostics.Debug": "4.0.11-beta-*",
@ -25,4 +25,4 @@
} }
} }
} }
} }