Skip to content

Commit 1ea9771

Browse files
Merge pull request #143 from NLog/console-example-netcore2
Added Console Example
2 parents f41a0ae + ca4e059 commit 1ea9771

File tree

5 files changed

+3225
-1
lines changed

5 files changed

+3225
-1
lines changed

NLog.Extensions.Logging.sln

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 15
3-
VisualStudioVersion = 15.0.26430.14
3+
VisualStudioVersion = 15.0.26730.16
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C21FD102-21B1-46DB-AD62-86692558AD01}"
66
EndProject
@@ -12,6 +12,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NLog.Extensions.Logging.Tes
1212
EndProject
1313
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{FBD2E07B-F25B-4D2F-AEF6-6D1E10F1E523}"
1414
EndProject
15+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleExample", "Examples\NetCore2\ConsoleExample\ConsoleExample.csproj", "{CF2D8DDE-5876-4EF0-B99D-3C536E887E18}"
16+
EndProject
1517
Global
1618
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1719
Debug|Any CPU = Debug|Any CPU
@@ -26,12 +28,20 @@ Global
2628
{7D396A98-C026-4C20-8F5E-2EA76A14CA7D}.Debug|Any CPU.Build.0 = Debug|Any CPU
2729
{7D396A98-C026-4C20-8F5E-2EA76A14CA7D}.Release|Any CPU.ActiveCfg = Release|Any CPU
2830
{7D396A98-C026-4C20-8F5E-2EA76A14CA7D}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{CF2D8DDE-5876-4EF0-B99D-3C536E887E18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{CF2D8DDE-5876-4EF0-B99D-3C536E887E18}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{CF2D8DDE-5876-4EF0-B99D-3C536E887E18}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{CF2D8DDE-5876-4EF0-B99D-3C536E887E18}.Release|Any CPU.Build.0 = Release|Any CPU
2935
EndGlobalSection
3036
GlobalSection(SolutionProperties) = preSolution
3137
HideSolutionNode = FALSE
3238
EndGlobalSection
3339
GlobalSection(NestedProjects) = preSolution
3440
{5BB808CD-F633-47C7-98B0-79B2A9BAE24A} = {C21FD102-21B1-46DB-AD62-86692558AD01}
3541
{7D396A98-C026-4C20-8F5E-2EA76A14CA7D} = {FBD2E07B-F25B-4D2F-AEF6-6D1E10F1E523}
42+
{CF2D8DDE-5876-4EF0-B99D-3C536E887E18} = {BD106966-02BE-4137-B9DC-4ECE56B4C204}
43+
EndGlobalSection
44+
GlobalSection(ExtensibilityGlobals) = postSolution
45+
SolutionGuid = {46DF0C22-7B6A-4A64-BC63-7B2F6A14F334}
3646
EndGlobalSection
3747
EndGlobal
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp2.0</TargetFramework>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="1.1.0" />
10+
<PackageReference Include="NLog" Version="4.5.0-beta06" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<ProjectReference Include="..\..\..\src\NLog.Extensions.Logging\NLog.Extensions.Logging.csproj" />
15+
</ItemGroup>
16+
17+
<ItemGroup>
18+
<None Update="nlog.config">
19+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
20+
</None>
21+
</ItemGroup>
22+
23+
</Project>

0 commit comments

Comments
 (0)