Skip to content

Commit 9017b28

Browse files
committed
Added nuget release configuration. Removed legacy files and folders.
1 parent 4dde9ea commit 9017b28

23 files changed

+36
-656
lines changed

AutoFacJ4JLogging/AutoFacJ4JLogging.csproj

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,33 @@
1919
<Version>3.0.0.0</Version>
2020
<AssemblyVersion>3.0.0.0</AssemblyVersion>
2121
<PackageReleaseNotes>targeting Net5; major restructuring and breaking changes</PackageReleaseNotes>
22+
<Configurations>Debug;Release;NuGetRelease</Configurations>
2223
</PropertyGroup>
2324

2425
<ItemGroup>
2526
<PackageReference Include="Autofac" Version="6.1.0" />
2627
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.1.0" />
28+
<PackageReference Include="Serilog" Version="2.10.0" />
2729
</ItemGroup>
2830

2931
<ItemGroup>
30-
<None Include="E:\Pix\JumpForJoy\Diego nuspec.png">
31-
<Pack>True</Pack>
32-
<PackagePath></PackagePath>
33-
</None>
32+
<None Include="E:\Pix\JumpForJoy\Diego nuspec.png">
33+
<Pack>True</Pack>
34+
<PackagePath></PackagePath>
35+
</None>
3436
</ItemGroup>
3537

36-
<ItemGroup>
37-
<ProjectReference Include="..\J4JLogging\J4JLogging.csproj" />
38-
</ItemGroup>
38+
<Choose>
39+
<When Condition=" '$(Configuration)' == 'NuGetRelease' ">
40+
<ItemGroup>
41+
<PackageReference Include="J4JSoftware.Logging" Version="3.0.0" />
42+
</ItemGroup>
43+
</When>
44+
<Otherwise>
45+
<ItemGroup>
46+
<ProjectReference Include="..\J4JLogging\J4JLogging.csproj" />
47+
</ItemGroup>
48+
</Otherwise>
49+
</Choose>
3950

4051
</Project>

ConsoleChannel/ConsoleChannel.cs

Lines changed: 0 additions & 27 deletions
This file was deleted.

ConsoleChannel/ConsoleChannel.csproj

Lines changed: 0 additions & 39 deletions
This file was deleted.

DebugChannel/DebugChannel.cs

Lines changed: 0 additions & 26 deletions
This file was deleted.

DebugChannel/DebugChannel.csproj

Lines changed: 0 additions & 39 deletions
This file was deleted.

FileChannel/FileChannel.Static.cs

Lines changed: 0 additions & 86 deletions
This file was deleted.

FileChannel/FileChannel.cs

Lines changed: 0 additions & 54 deletions
This file was deleted.

FileChannel/FileChannel.csproj

Lines changed: 0 additions & 39 deletions
This file was deleted.

FileChannel/LogFileLocation.cs

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)