Skip to content

Commit 5729edf

Browse files
author
umair.hussein
committed
package dependency addition
1 parent ebd9cfc commit 5729edf

File tree

6 files changed

+127
-120
lines changed

6 files changed

+127
-120
lines changed

assets/serilog-sink-nuget.png

20.4 KB
Loading

src/Serilog.Sinks.WinForms.Base/Class1.cs

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

src/Serilog.Sinks.WinForms.Base/Serilog.Sinks.WinForms.Base.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,13 @@
33
<PropertyGroup>
44
<TargetFrameworks>net46;netstandard1.3;netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
55
</PropertyGroup>
6+
<PropertyGroup>
7+
<IsPackable>false</IsPackable>
8+
</PropertyGroup>
69

710
<ItemGroup>
811
<PackageReference Include="Serilog" Version="2.10.0" />
912
</ItemGroup>
13+
1014

1115
</Project>

src/Serilog.Sinks.WinForms.Core/Serilog.Sinks.WinForms.Core.csproj

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,20 @@
2020
</PropertyGroup>
2121

2222
<ItemGroup>
23-
<ProjectReference Include="..\Serilog.Sinks.WinForms.Base\Serilog.Sinks.WinForms.Base.csproj" />
23+
<ProjectReference Include="..\Serilog.Sinks.WinForms.Base\Serilog.Sinks.WinForms.Base.csproj" PrivateAssets="All" />
24+
</ItemGroup>
25+
<ItemGroup>
26+
<None Include="../../assets/serilog-sink-nuget.png" Pack="true" PackagePath="images\icon.png" />
27+
<None Include="../../README.md" Pack="true" PackagePath="" />
2428
</ItemGroup>
2529

30+
<PropertyGroup>
31+
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);IncludeP2PAssets</TargetsForTfmSpecificBuildOutput>
32+
</PropertyGroup>
33+
<Target Name="IncludeP2PAssets">
34+
<ItemGroup>
35+
<BuildOutputInPackage Include="$(OutputPath)Serilog.Sinks.WinForms.Base.dll" />
36+
</ItemGroup>
37+
</Target>
2638

2739
</Project>
Lines changed: 107 additions & 110 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,110 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4-
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{E6E8355A-DC58-45B7-BBD3-8132610F5EBF}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
10-
<RootNamespace>Serilog.Sinks.WinForms</RootNamespace>
11-
<AssemblyName>Serilog.Sinks.WinForms</AssemblyName>
12-
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<Deterministic>true</Deterministic>
15-
<RepositoryUrl>https://github.com/umairsyed613/Serilog.Sinks.WinForms</RepositoryUrl>
16-
<RepositoryType>git</RepositoryType>
17-
<TargetFrameworkProfile />
18-
</PropertyGroup>
19-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20-
<DebugSymbols>true</DebugSymbols>
21-
<DebugType>full</DebugType>
22-
<Optimize>false</Optimize>
23-
<OutputPath>bin\Debug\</OutputPath>
24-
<DefineConstants>DEBUG;TRACE</DefineConstants>
25-
<ErrorReport>prompt</ErrorReport>
26-
<WarningLevel>4</WarningLevel>
27-
</PropertyGroup>
28-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29-
<DebugType>pdbonly</DebugType>
30-
<Optimize>true</Optimize>
31-
<OutputPath>bin\Release\</OutputPath>
32-
<DefineConstants>TRACE</DefineConstants>
33-
<ErrorReport>prompt</ErrorReport>
34-
<WarningLevel>4</WarningLevel>
35-
</PropertyGroup>
36-
<PropertyGroup>
37-
<ApplicationIcon>
38-
</ApplicationIcon>
39-
</PropertyGroup>
40-
<PropertyGroup>
41-
<PackageIcon>serilog-sink-nuget.png</PackageIcon>
42-
</PropertyGroup>
43-
<ItemGroup>
44-
<Reference Include="Microsoft.CSharp" />
45-
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
46-
<HintPath>..\packages\Serilog.2.10.0\lib\net46\Serilog.dll</HintPath>
47-
</Reference>
48-
<Reference Include="System" />
49-
<Reference Include="System.Core" />
50-
<Reference Include="System.Data" />
51-
<Reference Include="System.Drawing" />
52-
<Reference Include="System.Windows.Forms" />
53-
<Reference Include="System.Xml" />
54-
</ItemGroup>
55-
<ItemGroup>
56-
<Compile Include="GridLog.cs">
57-
<SubType>UserControl</SubType>
58-
</Compile>
59-
<Compile Include="GridLog.Designer.cs">
60-
<DependentUpon>GridLog.cs</DependentUpon>
61-
</Compile>
62-
<Compile Include="JsonLogTextBox.cs">
63-
<SubType>UserControl</SubType>
64-
</Compile>
65-
<Compile Include="JsonLogTextBox.Designer.cs">
66-
<DependentUpon>JsonLogTextBox.cs</DependentUpon>
67-
</Compile>
68-
<Compile Include="SaveFileHelper.cs" />
69-
<Compile Include="SimpleLogTextBox.cs">
70-
<SubType>UserControl</SubType>
71-
</Compile>
72-
<Compile Include="SimpleLogTextBox.Designer.cs">
73-
<DependentUpon>SimpleLogTextBox.cs</DependentUpon>
74-
</Compile>
75-
<Compile Include="Properties\AssemblyInfo.cs" />
76-
<Compile Include="TransparentSimpleLogTextBox.cs">
77-
<SubType>Component</SubType>
78-
</Compile>
79-
<Compile Include="TransparentSimpleLogTextBox.Designer.cs">
80-
<DependentUpon>TransparentSimpleLogTextBox.cs</DependentUpon>
81-
</Compile>
82-
<Compile Include="RichTextBoxLogControl.cs">
83-
<SubType>Component</SubType>
84-
</Compile>
85-
<Compile Include="RichTextBoxLogControl.Designer.cs">
86-
<DependentUpon>RichTextBoxLogControl.cs</DependentUpon>
87-
</Compile>
88-
</ItemGroup>
89-
<ItemGroup>
90-
<EmbeddedResource Include="GridLog.resx">
91-
<DependentUpon>GridLog.cs</DependentUpon>
92-
</EmbeddedResource>
93-
<EmbeddedResource Include="JsonLogTextBox.resx">
94-
<DependentUpon>JsonLogTextBox.cs</DependentUpon>
95-
</EmbeddedResource>
96-
<EmbeddedResource Include="SimpleLogTextBox.resx">
97-
<DependentUpon>SimpleLogTextBox.cs</DependentUpon>
98-
</EmbeddedResource>
99-
<EmbeddedResource Include="TransparentSimpleLogTextBox.resx">
100-
<DependentUpon>TransparentSimpleLogTextBox.cs</DependentUpon>
101-
</EmbeddedResource>
102-
</ItemGroup>
103-
<ItemGroup>
104-
<ProjectReference Include="..\Serilog.Sinks.WinForms.Base\Serilog.Sinks.WinForms.Base.csproj">
105-
<Project>{ccb237ee-bc54-435f-a0f2-0c13cbcf6e06}</Project>
106-
<Name>Serilog.Sinks.WinForms.Base</Name>
107-
</ProjectReference>
108-
</ItemGroup>
109-
<ItemGroup>
110-
<None Include="packages.config" />
111-
</ItemGroup>
112-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{E6E8355A-DC58-45B7-BBD3-8132610F5EBF}</ProjectGuid>
8+
<OutputType>Library</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>Serilog.Sinks.WinForms</RootNamespace>
11+
<AssemblyName>Serilog.Sinks.WinForms</AssemblyName>
12+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<Deterministic>true</Deterministic>
15+
<RepositoryUrl>https://github.com/umairsyed613/Serilog.Sinks.WinForms</RepositoryUrl>
16+
<RepositoryType>git</RepositoryType>
17+
<TargetFrameworkProfile />
18+
</PropertyGroup>
19+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<DebugType>pdbonly</DebugType>
30+
<Optimize>true</Optimize>
31+
<OutputPath>bin\Release\</OutputPath>
32+
<DefineConstants>TRACE</DefineConstants>
33+
<ErrorReport>prompt</ErrorReport>
34+
<WarningLevel>4</WarningLevel>
35+
</PropertyGroup>
36+
<PropertyGroup>
37+
<ApplicationIcon>
38+
</ApplicationIcon>
39+
</PropertyGroup>
40+
<ItemGroup>
41+
<Reference Include="Microsoft.CSharp" />
42+
<Reference Include="Serilog, Version=2.0.0.0, Culture=neutral, PublicKeyToken=24c2f752a8e58a10, processorArchitecture=MSIL">
43+
<HintPath>..\packages\Serilog.2.10.0\lib\net46\Serilog.dll</HintPath>
44+
</Reference>
45+
<Reference Include="System" />
46+
<Reference Include="System.Core" />
47+
<Reference Include="System.Data" />
48+
<Reference Include="System.Drawing" />
49+
<Reference Include="System.Windows.Forms" />
50+
<Reference Include="System.Xml" />
51+
</ItemGroup>
52+
<ItemGroup>
53+
<Compile Include="GridLog.cs">
54+
<SubType>UserControl</SubType>
55+
</Compile>
56+
<Compile Include="GridLog.Designer.cs">
57+
<DependentUpon>GridLog.cs</DependentUpon>
58+
</Compile>
59+
<Compile Include="JsonLogTextBox.cs">
60+
<SubType>UserControl</SubType>
61+
</Compile>
62+
<Compile Include="JsonLogTextBox.Designer.cs">
63+
<DependentUpon>JsonLogTextBox.cs</DependentUpon>
64+
</Compile>
65+
<Compile Include="SaveFileHelper.cs" />
66+
<Compile Include="SimpleLogTextBox.cs">
67+
<SubType>UserControl</SubType>
68+
</Compile>
69+
<Compile Include="SimpleLogTextBox.Designer.cs">
70+
<DependentUpon>SimpleLogTextBox.cs</DependentUpon>
71+
</Compile>
72+
<Compile Include="Properties\AssemblyInfo.cs" />
73+
<Compile Include="TransparentSimpleLogTextBox.cs">
74+
<SubType>Component</SubType>
75+
</Compile>
76+
<Compile Include="TransparentSimpleLogTextBox.Designer.cs">
77+
<DependentUpon>TransparentSimpleLogTextBox.cs</DependentUpon>
78+
</Compile>
79+
<Compile Include="RichTextBoxLogControl.cs">
80+
<SubType>Component</SubType>
81+
</Compile>
82+
<Compile Include="RichTextBoxLogControl.Designer.cs">
83+
<DependentUpon>RichTextBoxLogControl.cs</DependentUpon>
84+
</Compile>
85+
</ItemGroup>
86+
<ItemGroup>
87+
<EmbeddedResource Include="GridLog.resx">
88+
<DependentUpon>GridLog.cs</DependentUpon>
89+
</EmbeddedResource>
90+
<EmbeddedResource Include="JsonLogTextBox.resx">
91+
<DependentUpon>JsonLogTextBox.cs</DependentUpon>
92+
</EmbeddedResource>
93+
<EmbeddedResource Include="SimpleLogTextBox.resx">
94+
<DependentUpon>SimpleLogTextBox.cs</DependentUpon>
95+
</EmbeddedResource>
96+
<EmbeddedResource Include="TransparentSimpleLogTextBox.resx">
97+
<DependentUpon>TransparentSimpleLogTextBox.cs</DependentUpon>
98+
</EmbeddedResource>
99+
</ItemGroup>
100+
<ItemGroup>
101+
<ProjectReference Include="..\Serilog.Sinks.WinForms.Base\Serilog.Sinks.WinForms.Base.csproj" PrivateAssets="All">
102+
<Project>{ccb237ee-bc54-435f-a0f2-0c13cbcf6e06}</Project>
103+
<Name>Serilog.Sinks.WinForms.Base</Name>
104+
</ProjectReference>
105+
</ItemGroup>
106+
<ItemGroup>
107+
<None Include="packages.config" />
108+
</ItemGroup>
109+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
113110
</Project>

src/Serilog.Sinks.WinForms.Net/Serilog.Sinks.WinForms.nuspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414
<copyright>$copyright$</copyright>
1515
<tags>Serilog WindowsForms WinForm WinForms SerilogSink Sink Windows Forms Application</tags>
1616
</metadata>
17+
<files>
18+
<file src="bin\Release\Serilog.Sinks.*.dll" target="lib" />
19+
</files>
1720
</package>

0 commit comments

Comments
 (0)