File tree 3 files changed +6
-11
lines changed
src/Serilog.Enrichers.Environment
test/Serilog.Enrichers.Environment.Tests
3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- #if ! DOTNET5_1
16
-
17
15
using System ;
18
16
using Serilog . Core ;
19
17
using Serilog . Events ;
@@ -55,6 +53,4 @@ private static string GetEnvironmentUserName()
55
53
return ! string . IsNullOrWhiteSpace ( userDomainName ) ? $@ "{ userDomainName } \{ userName } " : userName ;
56
54
}
57
55
}
58
- }
59
-
60
- #endif
56
+ }
Original file line number Diff line number Diff line change 23
23
},
24
24
"frameworks" : {
25
25
"net4.5" : {
26
- "define" : [" ENV_USER_NAME" ]
26
+ "buildOptions" : {
27
+ "define" : [ " ENV_USER_NAME" ]
28
+ }
27
29
},
28
30
"netstandard1.3" : {
29
- "dependencies" : {
30
- "System.Runtime.Extensions" : " 4.1.0"
31
- }
32
31
}
33
32
}
34
33
}
Original file line number Diff line number Diff line change 11
11
"keyFile" : " ../../assets/Serilog.snk"
12
12
},
13
13
"frameworks" : {
14
- "net4.6" : { },
15
14
"netcoreapp1.0" : {
16
15
"dependencies" : {
17
16
"Microsoft.NETCore.App" : {
23
22
" dnxcore50" ,
24
23
" portable-net45+win8"
25
24
]
26
- }
25
+ },
26
+ "net4.6" : {}
27
27
}
28
28
}
You can’t perform that action at this time.
0 commit comments