Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

Commit 57fd583

Browse files
committed
dotnet all the things
1 parent aa98fd8 commit 57fd583

File tree

13 files changed

+11
-56
lines changed

13 files changed

+11
-56
lines changed

src/Microsoft.Framework.Configuration.Abstractions/project.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,10 @@
55
"frameworks": {
66
"net45": { },
77
"dnx451": { },
8-
"dnxcore50": {
8+
"dotnet": {
99
"dependencies": {
1010
"System.Linq": "4.0.0-beta-*"
1111
}
12-
},
13-
".NETPortable,Version=v4.5,Profile=Profile7": {
14-
"frameworkAssemblies": {
15-
"System.Collections": "",
16-
"System.Diagnostics.Debug": "",
17-
"System.Globalization": "",
18-
"System.Linq": "",
19-
"System.Reflection": "",
20-
"System.Resources.ResourceManager": "",
21-
"System.Runtime": "",
22-
"System.Runtime.Extensions": "",
23-
"System.Runtime.InteropServices": ""
24-
}
2512
}
2613
}
2714
}

src/Microsoft.Framework.Configuration.Binder/project.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
"frameworks": {
99
"net45": { },
1010
"dnx451": { },
11-
"dnxcore50": { },
12-
".NETPortable,Version=v4.5,Profile=Profile7": {
13-
"frameworkAssemblies": {
14-
"System.Collections": "",
15-
"System.Diagnostics.Debug": "",
16-
"System.Globalization": "",
17-
"System.Linq": "",
18-
"System.Reflection": "",
19-
"System.Resources.ResourceManager": "",
20-
"System.Runtime": "",
21-
"System.Runtime.Extensions": "",
22-
"System.Runtime.InteropServices": ""
23-
}
24-
}
11+
"dotnet": { }
2512
}
2613
}

src/Microsoft.Framework.Configuration.CommandLine/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"frameworks": {
99
"net45": { },
1010
"dnx451": { },
11-
"dnxcore50": { }
11+
"dotnet": { }
1212
}
1313
}

src/Microsoft.Framework.Configuration.EnvironmentVariables/EnvironmentVariablesConfigurationSource.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,10 @@ public EnvironmentVariablesConfigurationSource()
3030
_prefix = string.Empty;
3131
}
3232

33-
#if NET45 || DNX451 || DNXCORE50
3433
public override void Load()
3534
{
3635
Load(Environment.GetEnvironmentVariables());
3736
}
38-
#endif
3937

4038
internal void Load(IDictionary envVariables)
4139
{

src/Microsoft.Framework.Configuration.EnvironmentVariables/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"frameworks": {
99
"net45": { },
1010
"dnx451": { },
11-
"dnxcore50": { }
11+
"dotnet": { }
1212
}
1313
}

src/Microsoft.Framework.Configuration.Ini/IniConfigurationExtension.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ namespace Microsoft.Framework.Configuration
1111
{
1212
public static class IniConfigurationExtension
1313
{
14-
#if NET45 || DNX451 || DNXCORE50
1514
/// <summary>
1615
/// Adds the INI configuration source at <paramref name="path"/> to <paramref name="configuraton"/>.
1716
/// </summary>
@@ -55,6 +54,5 @@ public static IConfigurationBuilder AddIniFile(
5554
configuration.Add(new IniFileConfigurationSource(fullPath, optional: optional));
5655
return configuration;
5756
}
58-
#endif
5957
}
6058
}

src/Microsoft.Framework.Configuration.Ini/IniFileConfigurationSource.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
#if NET45 || DNX451 || DNXCORE50
54
using System;
65
using System.Collections.Generic;
76
using System.IO;
@@ -144,4 +143,3 @@ internal void Load(Stream stream)
144143
}
145144
}
146145
}
147-
#endif

src/Microsoft.Framework.Configuration.Ini/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"frameworks": {
99
"net45": { },
1010
"dnx451": { },
11-
"dnxcore50": { }
11+
"dotnet": { }
1212
}
1313
}

src/Microsoft.Framework.Configuration.Json/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"frameworks": {
1010
"net45": { },
1111
"dnx451": { },
12-
"dnxcore50": {
12+
"dotnet": {
1313
"dependencies": {
1414
"System.Dynamic.Runtime": "4.0.10-*"
1515
}

src/Microsoft.Framework.Configuration.Xml/EncryptedXmlDocumentDecryptor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) .NET Foundation. All rights reserved.
22
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33

4-
#if !DNXCORE50
4+
#if !DOTNET
55
using System;
66
using System.Security.Cryptography.Xml;
77
using System.Xml;

0 commit comments

Comments
 (0)