-
Notifications
You must be signed in to change notification settings - Fork 161
Expand file tree
/
Copy pathNLog.Web.csproj
More file actions
89 lines (80 loc) · 3.55 KB
/
NLog.Web.csproj
File metadata and controls
89 lines (80 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<TargetFrameworks>net35;net46</TargetFrameworks>
<Product>NLog.Web v$(VersionPrefix)</Product>
<Description>
NLog logging for ASP.NET and ASP.NET MVC. Includes targets and layout renderers for websites and web applications.
This package is for ASP.NET 3.5+
For ASP.NET Core: Check https://www.nuget.org/packages/NLog.Web.AspNetCore
</Description>
<Authors>Julian Verdurmen</Authors>
<Company>NLog</Company>
<CurrentYear>$([System.DateTime]::Now.ToString(yyyy))</CurrentYear>
<Copyright>Copyright (c) 2015-$(CurrentYear) NLog Project - https://nlog-project.org/ </Copyright>
<AssemblyName>NLog.Web</AssemblyName>
<AssemblyTitle>$(Title)</AssemblyTitle>
<PackageId>NLog.Web</PackageId>
<PackageTags>nlog;log;logging;target;layoutrenderer;web;asp.net;MVC;httpcontext</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>
Remember to register NLog.Web in NLog.config
<extensions>
<add assembly="NLog.Web" />
</extensions>
Alternative register NLog.Web from code:
NLog.LogManager.Setup().RegisterNLogWeb()
Full changelog: https://github.com/NLog/NLog.Web/releases
List of available Layout Renderers: https://nlog-project.org/config/?tab=layout-renderers&search=package:nlog.web
</PackageReleaseNotes>
<PackageIcon>N.png</PackageIcon>
<PackageProjectUrl>https://github.com/NLog/NLog.Web</PackageProjectUrl>
<PackageLicenseExpression>BSD-3-Clause</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/NLog/NLog.Web.git</RepositoryUrl>
<SignAssembly>true</SignAssembly>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyOriginatorKeyFile>NLog.snk</AssemblyOriginatorKeyFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DisableImplicitFrameworkReferences>true</DisableImplicitFrameworkReferences>
<!-- EmbedUntrackedSources for deterministic build -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Nullable>enable</Nullable>
<LangVersion>9</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Update="Internal\AssemblyExtensionTypes.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>AssemblyExtensionTypes.cs</LastGenOutput>
</None>
<Compile Update="Internal\AssemblyExtensionTypes.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>AssemblyExtensionTypes.tt</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="N.png" Pack="true" PackagePath="" Visible="false" />
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
<Target Name="DownloadMissingContent" BeforeTargets="GenerateNuspec">
<DownloadFile SourceUrl="https://nlog-project.org/N.png" DestinationFolder="$(MSBuildThisFileDirectory)" />
</Target>
<ItemGroup>
<PackageReference Include="NLog" Version="6.1.2" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.Web" />
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\Shared\**\*.cs" />
<None Include="NLog.snk" />
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
</Project>