Skip to content

Commit b2ba9a3

Browse files
committed
Compile with .NET Core 1.0
1 parent a312bca commit b2ba9a3

33 files changed

+1766
-1675
lines changed

samples/MongoDB.Tests.ConsoleApp/project.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"dependencies": {
99
"Microsoft.NETCore.App": {
1010
"type": "platform",
11-
"version": "1.0.0-rc2-3002702"
11+
"version": "1.0.0"
1212
},
1313
"MongoDB.Bson": "2.2.4-*",
1414
"MongoDB.Driver": "2.2.4-*"
1515
},
1616

1717
"frameworks": {
1818
"netcoreapp1.0": {
19-
"imports": [ "dnxcore50", "portable-net451+win8" ]
19+
"imports": "dnxcore50"
2020
}
2121
}
2222
}

samples/MongoDB.Tests.WebApplication/project.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"frameworks": {
2222
"netcoreapp1.0": {
2323
"imports": [
24-
"dotnet5.6",
25-
"portable-net45+win8"
24+
"dotnet5.6"
2625
]
2726
}
2827
},

src/MongoDB.Bson/Serialization/AttributedSerializationProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Reflection;
1818
using MongoDB.Bson.Serialization.Attributes;
1919

20-
#if NETCORE50 || NETSTANDARD1_5
20+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
2121
using System.Linq;
2222
#endif
2323

@@ -41,7 +41,7 @@ public override IBsonSerializer GetSerializer(Type type, IBsonSerializerRegistry
4141
var message = string.Format("Generic type {0} has unassigned type parameters.", BsonUtils.GetFriendlyTypeName(type));
4242
throw new ArgumentException(message, "type");
4343
}
44-
#if NETCORE50 || NETSTANDARD1_5
44+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
4545
var serializerAttributes = typeInfo.GetCustomAttributes(typeof(BsonSerializerAttribute), false).ToArray(); // don't inherit
4646
#else
4747
var serializerAttributes = typeInfo.GetCustomAttributes(typeof(BsonSerializerAttribute), false); // don't inherit

src/MongoDB.Bson/Serialization/BsonClassMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ private static PropertyInfo FindPropertyImplementation(PropertyInfo interfacePro
15941594
// An interface map must be used because because there is no
15951595
// other officially documented way to derive the explicitly
15961596
// implemented property name.
1597-
#if NETCORE50 || NETSTANDARD1_5
1597+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
15981598
var interfaceMap = actualType.GetTypeInfo().GetRuntimeInterfaceMap(interfaceType);
15991599
#else
16001600
var interfaceMap = actualType.GetInterfaceMap(interfaceType);

src/MongoDB.Bson/Serialization/BsonMemberMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ private static object GetDefaultValue(Type type)
539539
switch (Type.GetTypeCode(type))
540540
{
541541
case TypeCode.Empty:
542-
#if NETCORE50 || NETSTANDARD1_5
542+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
543543
// TODO: case TypeCode.DBNull:
544544
#else
545545
case TypeCode.DBNull:

src/MongoDB.Bson/Serialization/BsonSerializer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
using MongoDB.Bson.Serialization.IdGenerators;
2727
using MongoDB.Bson.Serialization.Serializers;
2828

29-
#if NETCORE50 || NETSTANDARD1_5
29+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
3030
using System.Linq;
3131
#endif
3232

@@ -694,7 +694,7 @@ internal static void EnsureKnownTypesAreRegistered(Type nominalType)
694694
if (!__typesWithRegisteredKnownTypes.Contains(nominalType))
695695
{
696696
// only call LookupClassMap for classes with a BsonKnownTypesAttribute
697-
#if NETCORE50 || NETSTANDARD1_5
697+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
698698
var knownTypesAttribute = nominalType.GetTypeInfo().GetCustomAttributes(typeof(BsonKnownTypesAttribute), false).ToArray();
699699
#else
700700
var knownTypesAttribute = nominalType.GetCustomAttributes(typeof(BsonKnownTypesAttribute), false);

src/MongoDB.Bson/Serialization/Conventions/AttributeConventionPack.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ private class AttributeConvention : ConventionBase, IClassMapConvention, ICreato
6565
// public methods
6666
public void Apply(BsonClassMap classMap)
6767
{
68-
#if NETCORE50 || NETSTANDARD1_5
68+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
6969
foreach (IBsonClassMapAttribute attribute in classMap.ClassType.GetTypeInfo().CustomAttributes.Where(c=>c.AttributeType is IBsonClassMapAttribute))
7070
#else
7171
foreach (IBsonClassMapAttribute attribute in classMap.ClassType.GetCustomAttributes(typeof(IBsonClassMapAttribute), false))
@@ -84,7 +84,7 @@ public void Apply(BsonCreatorMap creatorMap)
8484
{
8585
if (creatorMap.MemberInfo != null)
8686
{
87-
#if NETCORE50 || NETSTANDARD1_5
87+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
8888
foreach (IBsonCreatorMapAttribute attribute in creatorMap.MemberInfo.CustomAttributes.Where(c => c.AttributeType is IBsonCreatorMapAttribute))
8989
#else
9090
foreach (IBsonCreatorMapAttribute attribute in creatorMap.MemberInfo.GetCustomAttributes(typeof(IBsonCreatorMapAttribute), false))
@@ -97,7 +97,7 @@ public void Apply(BsonCreatorMap creatorMap)
9797

9898
public void Apply(BsonMemberMap memberMap)
9999
{
100-
#if NETCORE50 || NETSTANDARD1_5
100+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
101101
var attributes = memberMap.MemberInfo.CustomAttributes.Where(c => c.AttributeType is IBsonMemberMapAttribute).Select(c => c.AttributeType).Cast<IBsonMemberMapAttribute>();
102102
#else
103103
var attributes = memberMap.MemberInfo.GetCustomAttributes(typeof(IBsonMemberMapAttribute), false).Cast<IBsonMemberMapAttribute>();
@@ -114,7 +114,7 @@ public void Apply(BsonMemberMap memberMap)
114114

115115
public void PostProcess(BsonClassMap classMap)
116116
{
117-
#if NETCORE50 || NETSTANDARD1_5
117+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
118118
foreach (IBsonPostProcessingAttribute attribute in classMap.ClassType.GetTypeInfo().CustomAttributes.Where(c => c.AttributeType is IBsonPostProcessingAttribute))
119119
#else
120120
foreach (IBsonPostProcessingAttribute attribute in classMap.ClassType.GetCustomAttributes(typeof(IBsonPostProcessingAttribute), false))
@@ -127,7 +127,7 @@ public void PostProcess(BsonClassMap classMap)
127127
// private methods
128128
private bool AllowsDuplicate(Type type)
129129
{
130-
#if NETCORE50 || NETSTANDARD1_5
130+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
131131
var usageAttribute = type.GetTypeInfo().GetCustomAttributes(typeof(BsonMemberMapAttributeUsageAttribute), true)
132132
.OfType<BsonMemberMapAttributeUsageAttribute>()
133133
.SingleOrDefault();
@@ -145,7 +145,7 @@ private void OptInMembersWithBsonCreatorMapModifierAttribute(BsonClassMap classM
145145
// let other constructors opt-in if they have any IBsonCreatorMapAttribute attributes
146146
foreach (var constructorInfo in classMap.ClassType.GetConstructors(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
147147
{
148-
#if NETCORE50 || NETSTANDARD1_5
148+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
149149
var hasAttribute = constructorInfo.CustomAttributes.Any(c => c.AttributeType is IBsonCreatorMapAttribute);
150150
#else
151151
var hasAttribute = constructorInfo.GetCustomAttributes(typeof(IBsonCreatorMapAttribute), false).Any();
@@ -159,7 +159,7 @@ private void OptInMembersWithBsonCreatorMapModifierAttribute(BsonClassMap classM
159159
// let other static factory methods opt-in if they have any IBsonCreatorMapAttribute attributes
160160
foreach (var methodInfo in classMap.ClassType.GetMethods(BindingFlags.Static | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
161161
{
162-
#if NETCORE50 || NETSTANDARD1_5
162+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
163163
var hasAttribute = methodInfo.CustomAttributes.Any(c => c.AttributeType is IBsonCreatorMapAttribute);
164164
#else
165165
var hasAttribute = methodInfo.GetCustomAttributes(typeof(IBsonCreatorMapAttribute), false).Any();
@@ -176,7 +176,7 @@ private void OptInMembersWithBsonMemberMapModifierAttribute(BsonClassMap classMa
176176
// let other fields opt-in if they have any IBsonMemberMapAttribute attributes
177177
foreach (var fieldInfo in classMap.ClassType.GetFields(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
178178
{
179-
#if NETCORE50 || NETSTANDARD1_5
179+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
180180
var hasAttribute = fieldInfo.CustomAttributes.Any(c=>c.AttributeType is IBsonMemberMapAttribute);
181181
#else
182182
var hasAttribute = fieldInfo.GetCustomAttributes(typeof(IBsonMemberMapAttribute), false).Any();
@@ -190,7 +190,7 @@ private void OptInMembersWithBsonMemberMapModifierAttribute(BsonClassMap classMa
190190
// let other properties opt-in if they have any IBsonMemberMapAttribute attributes
191191
foreach (var propertyInfo in classMap.ClassType.GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.DeclaredOnly))
192192
{
193-
#if NETCORE50 || NETSTANDARD1_5
193+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
194194
var hasAttribute = propertyInfo.CustomAttributes.Any(c => c.AttributeType is IBsonMemberMapAttribute);
195195
#else
196196
var hasAttribute = propertyInfo.GetCustomAttributes(typeof(IBsonMemberMapAttribute), false).Any();
@@ -219,7 +219,7 @@ private void ThrowForDuplicateMemberMapAttributes(BsonClassMap classMap)
219219
var nonDuplicatesAlreadySeen = new List<Type>();
220220
foreach (var memberMap in classMap.DeclaredMemberMaps)
221221
{
222-
#if NETCORE50 || NETSTANDARD1_5
222+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
223223
var attributes = (IBsonMemberMapAttribute[])memberMap.MemberInfo.CustomAttributes.Where(c => c.AttributeType is IBsonMemberMapAttribute).Cast<IBsonMemberMapAttribute>().ToArray();
224224
#else
225225
var attributes = (IBsonMemberMapAttribute[])memberMap.MemberInfo.GetCustomAttributes(typeof(IBsonMemberMapAttribute), false);

src/MongoDB.Bson/Serialization/Conventions/ObjectDiscriminatorConvention.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using MongoDB.Bson.IO;
1919
using MongoDB.Bson.Serialization.Serializers;
2020

21-
#if NETCORE50 || NETSTANDARD1_5
21+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
2222
using System.Reflection;
2323
#endif
2424

src/MongoDB.Bson/Serialization/Serializers/PartiallyRawBsonDocumentSerializer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
using System;
1717
using MongoDB.Bson.IO;
1818

19-
#if NETCORE50 || NETSTANDARD1_5
19+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
2020
using System.Reflection;
2121
#endif
2222

src/MongoDB.Bson/project.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"authors": [ "[email protected]" ],
44
"description": "MongoDB supported BSON library. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.",
55
"dependencies": {
6-
"NETStandard.Library": "1.5.0-rc2-24027",
7-
"System.Dynamic.Runtime": "4.0.11-rc2-24027",
8-
"Microsoft.AspNetCore.Identity": "1.0.0-rc2-final",
9-
"System.Security.SecureString": "4.0.0-beta-23409",
10-
"System.Xml.XmlSerializer": "4.0.11-rc2-24027",
11-
"System.Collections.NonGeneric": "4.0.1-rc2-24027",
12-
"System.Reflection.Emit.Lightweight": "4.0.1-rc2-24027",
13-
"System.Reflection.Extensions": "4.0.1-rc2-24027",
14-
"System.Runtime.InteropServices": "4.1.0-rc2-24027",
15-
"System.Reflection.TypeExtensions": "4.1.0-rc2-24027",
16-
"System.Runtime.Serialization.Formatters": "4.0.0-rc4-24214-01"
6+
"NETStandard.Library": "1.6.0",
7+
"System.Dynamic.Runtime": "4.0.11",
8+
"Microsoft.AspNetCore.Identity": "1.0.0",
9+
"System.Xml.XmlSerializer": "4.0.11",
10+
"System.Collections.NonGeneric": "4.0.1",
11+
"System.Reflection.Emit.Lightweight": "4.0.1",
12+
"System.Reflection.Extensions": "4.0.1",
13+
"System.Runtime.InteropServices": "4.1.0",
14+
"System.Reflection.TypeExtensions": "4.1.0",
15+
"System.Security.SecureString": "4.0.0-beta-23123",
16+
"System.Runtime.Serialization.Formatters": "4.0.0-rc3-24212-01"
1717
},
1818
"frameworks": {
19-
"netstandard1.5": {
20-
"imports": [ "dnxcore50", "portable-net451+win8" ]
19+
"netstandard1.6": {
20+
"imports": "dnxcore50"
2121
}
2222
}
2323
}

src/MongoDB.Driver.Core/Core/Authentication/AuthenticationHelper.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public static string MongoPasswordDigest(string username, SecureString password)
6969
IntPtr unmanagedPassword = IntPtr.Zero;
7070
try
7171
{
72-
#if NETCORE50 || NETSTANDARD1_5
72+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
7373
unmanagedPassword = SecureStringMarshal.SecureStringToCoTaskMemUnicode(password);
7474
#else
7575
unmanagedPassword = Marshal.SecureStringToBSTR(password);
@@ -119,8 +119,11 @@ public static string MongoPasswordDigest(string username, SecureString password)
119119
{
120120
if (unmanagedPassword != IntPtr.Zero)
121121
{
122-
#if NETCORE50 || NETSTANDARD1_5
122+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
123+
#if NETSTANDARD1_6
124+
#else
123125
SecureStringMarshal.ZeroFreeCoTaskMemUnicode(unmanagedPassword);
126+
#endif
124127
#else
125128
Marshal.ZeroFreeBSTR(unmanagedPassword);
126129
#endif

src/MongoDB.Driver.Core/Core/Authentication/ScramSha1Authenticator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static byte[] Hi(string password, byte[] salt, int iterations)
209209

210210
private static byte[] HMAC(UTF8Encoding encoding, byte[] data, string key)
211211
{
212-
#if NETCORE50 || NETSTANDARD1_5
212+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
213213
using (var hmac = new HMACSHA1(data))
214214
#else
215215
using (var hmac = new HMACSHA1(data, true))

src/MongoDB.Driver.Core/Core/Authentication/UsernamePasswordCredential.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public string GetInsecurePassword()
9999
IntPtr unmanagedPassword = IntPtr.Zero;
100100
try
101101
{
102-
#if NETCORE50 || NETSTANDARD1_5
102+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
103103
unmanagedPassword = SecureStringMarshal.SecureStringToCoTaskMemUnicode(_password);
104104
#else
105105
unmanagedPassword = Marshal.SecureStringToGlobalAllocUnicode(_password);
@@ -110,8 +110,11 @@ public string GetInsecurePassword()
110110
{
111111
if (unmanagedPassword != IntPtr.Zero)
112112
{
113-
#if NETCORE50 || NETSTANDARD1_5
113+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
114+
#if NETSTANDARD1_6
115+
#else
114116
SecureStringMarshal.ZeroFreeCoTaskMemUnicode(unmanagedPassword);
117+
#endif
115118
#else
116119
Marshal.ZeroFreeGlobalAllocUnicode(unmanagedPassword);
117120
#endif

src/MongoDB.Driver.Core/Core/Configuration/SslStreamSettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public SslStreamSettings(
5353
_checkCertificateRevocation = checkCertificateRevocation.WithDefault(true);
5454
_clientCertificates = Ensure.IsNotNull(clientCertificates.WithDefault(Enumerable.Empty<X509Certificate>()), "clientCertificates").ToList();
5555
_clientCertificateSelectionCallback = clientCertificateSelectionCallback.WithDefault(null);
56-
#if NETCORE50 || NETSTANDARD1_5
56+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
5757
_enabledSslProtocols = enabledProtocols.WithDefault(SslProtocols.Tls|SslProtocols.Ssl3);
5858
#else
5959
_enabledSslProtocols = enabledProtocols.WithDefault(SslProtocols.Default);

src/MongoDB.Driver.Core/Core/Connections/SslStreamFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public Stream CreateStream(EndPoint endPoint, CancellationToken cancellationToke
4747
var sslStream = CreateSslStream(stream);
4848
var targetHost = GetTargetHost(endPoint);
4949
var clientCertificates = new X509CertificateCollection(_settings.ClientCertificates.ToArray());
50-
#if NETCORE50 || NETSTANDARD1_5
50+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
5151
sslStream.AuthenticateAsClientAsync(targetHost, clientCertificates, _settings.EnabledSslProtocols, _settings.CheckCertificateRevocation).GetAwaiter().GetResult();
5252
#else
5353
sslStream.AuthenticateAsClient(targetHost, clientCertificates, _settings.EnabledSslProtocols, _settings.CheckCertificateRevocation);

src/MongoDB.Driver.Core/Core/Connections/TcpStreamFactory.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private async Task ConnectAsync(Socket socket, EndPoint endPoint, CancellationTo
129129
{
130130
try
131131
{
132-
#if NETCORE50 || NETSTANDARD1_5
132+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
133133
await Task.Run(() =>
134134
{
135135
socket.Connect(endPoint);

src/MongoDB.Driver.Core/Core/Events/EventContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*/
1515

1616
using System;
17-
#if NETCORE50 || NETSTANDARD1_5
17+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
1818
using System.Threading;
1919
#else
2020
using System.Runtime.Remoting.Messaging;
@@ -26,7 +26,7 @@ namespace MongoDB.Driver.Core.Events
2626
{
2727
internal static class EventContext
2828
{
29-
#if NETCORE50 || NETSTANDARD1_5
29+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
3030
private static AsyncLocal<int?> findOperationBatchSize = new AsyncLocal<int?>();
3131
public static int? FindOperationBatchSize
3232
{

src/MongoDB.Driver.Core/Core/Misc/EndPointHelper.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,14 @@ public static bool TryParse(string value, out EndPoint result)
205205
result = new IPEndPoint(address, port);
206206
return true;
207207
}
208-
208+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
209+
var hostAddresses = Dns.GetHostAddressesAsync(addressString).GetAwaiter().GetResult();
210+
if(hostAddresses != null && hostAddresses.Length > 0)
211+
{
212+
result = new IPEndPoint(hostAddresses[0], port);
213+
return true;
214+
}
215+
#endif
209216
return false;
210217
}
211218

src/MongoDB.Driver.Core/Core/Misc/RNGCryptoServiceProviderRandomStringGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ internal class RNGCryptoServiceProviderRandomStringGenerator : IRandomStringGene
2323
public string Generate(int length, string legalCharacters)
2424
{
2525
var randomData = new byte[length];
26-
#if NETCORE50 || NETSTANDARD1_5
26+
#if NETCORE50 || NETSTANDARD1_5 || NETSTANDARD1_6
2727
using (var rng = RandomNumberGenerator.Create())
2828
{
2929
rng.GetBytes(randomData);

src/MongoDB.Driver.Core/project.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,24 @@
44
"description": "MongoDB supported Driver Core library. See http://www.mongodb.org/display/DOCS/CSharp+Language+Center for more details.",
55
"dependencies": {
66
"MongoDB.Bson": "2.2.4-*",
7-
"NETStandard.Library": "1.5.0-rc2-24027",
8-
"System.Collections.Specialized": "4.0.1-rc2-24027",
9-
"System.Diagnostics.TraceSource": "4.0.0-rc2-24027",
10-
"System.Net.Security": "4.0.0-rc2-24027",
11-
"System.Dynamic.Runtime": "4.0.11-rc2-24027",
12-
"Microsoft.AspNetCore.Identity": "1.0.0-rc2-final",
13-
"System.Security.SecureString": "4.0.0-beta-23409",
14-
"System.Xml.XmlSerializer": "4.0.11-rc2-24027",
15-
"System.Collections.NonGeneric": "4.0.1-rc2-24027",
16-
"System.Reflection.Emit.Lightweight": "4.0.1-rc2-24027",
17-
"System.Reflection.Extensions": "4.0.1-rc2-24027",
18-
"System.Runtime.InteropServices": "4.2.0-beta-24225-02",
19-
"System.Runtime.Handles": "4.0.2-beta-24225-02"
7+
"NETStandard.Library": "1.6.0",
8+
"System.Collections.Specialized": "4.0.1",
9+
"System.Diagnostics.TraceSource": "4.0.0",
10+
"System.Net.Security": "4.0.0",
11+
"System.Dynamic.Runtime": "4.0.11",
12+
"Microsoft.AspNetCore.Identity": "1.0.0",
13+
"System.Security.SecureString": "4.0.0",
14+
"System.Xml.XmlSerializer": "4.0.11",
15+
"System.Collections.NonGeneric": "4.0.1",
16+
"System.Reflection.Emit.Lightweight": "4.0.1",
17+
"System.Reflection.Extensions": "4.0.1",
18+
"System.Runtime.InteropServices": "4.1.0",
19+
"System.Runtime.Handles": "4.0.1",
20+
"System.Net.NameResolution": "4.0.0"
2021
},
2122
"frameworks": {
22-
"netstandard1.5": {
23-
"imports": [ "dnxcore50", "portable-net451+win8" ]
23+
"netstandard1.6": {
24+
"imports": "dnxcore50"
2425
}
2526
}
2627
}

0 commit comments

Comments
 (0)