-
Notifications
You must be signed in to change notification settings - Fork 330
Expand file tree
/
Copy pathLogging.csproj
More file actions
125 lines (106 loc) · 4.48 KB
/
Logging.csproj
File metadata and controls
125 lines (106 loc) · 4.48 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<!--
Additional project config is imported from parent Directory.Build.props
files.
Logging versioning information found in our sibling file LoggingVersions.props
is imported via tools/props/Versions.props.
-->
<!-- Target Config -->
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
</PropertyGroup>
<!-- When we're not signing, we are permitted to expose our internals to tests. -->
<ItemGroup Condition="'$(SigningKeyPath)' == ''">
<InternalsVisibleTo Include="$(AssemblyName).Test" />
</ItemGroup>
<!-- Compiler Config -->
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<!-- Build Config -->
<PropertyGroup>
<AssemblyName>Microsoft.Data.SqlClient.Extensions.Logging</AssemblyName>
<!--
Clear the root namespace since our directory structure doesn't match our
namespace definitions. Otherwise, if omitted it would default to the
AssemblyName.
-->
<RootNamespace></RootNamespace>
<!--
We pin the AssemblyVersion of our package to the default major version
number, with all remaining parts set to 0.
-->
<AssemblyVersion>$(LoggingDefaultMajorVersion).0.0.0</AssemblyVersion>
<AssemblyFileVersion>$(LoggingAssemblyFileVersion)</AssemblyFileVersion>
<FileVersion>$(LoggingAssemblyFileVersion)</FileVersion>
<Version>$(LoggingPackageVersion)</Version>
</PropertyGroup>
<ItemGroup>
<!-- Our API is CLS Compliant. -->
<AssemblyAttribute Include="System.CLSCompliantAttribute">
<_Parameter1>true</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<!-- Build Output Config-->
<PropertyGroup>
<!--
The obj/ folder for each target framework. This contains intermediate files used during the
build process.
-->
<IntermediateOutputPath>$(Artifacts)/obj/$(Configuration)/$(AssemblyName)</IntermediateOutputPath>
<!-- The bin/ folder for each target framework. This contains the final build artifacts. -->
<OutputPath>$(Artifacts)/bin/$(Configuration)/$(AssemblyName)</OutputPath>
<!--
Generate XML documentation from /// comments. The compiler places the
XML file alongside the assembly in $(OutputPath). SDK Pack then includes
this file automatically in the NuGet package under lib/<tfm>/.
-->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>
<!--
NuGet Package Config
See: https://learn.microsoft.com/en-us/nuget/reference/msbuild-targets#pack-target
-->
<PropertyGroup>
<PackageId>$(AssemblyName)</PackageId>
<PackageVersion>$(LoggingPackageVersion)</PackageVersion>
<PackageOutputPath>$(PackagesDir)</PackageOutputPath>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<Title>Microsoft.Data.SqlClient.Extensions.Logging</Title>
<Authors>Microsoft</Authors>
<Company>Microsoft Corporation</Company>
<Description>
Microsoft.Data.SqlClient Extensions Logging - ETW EventSource for SqlClient tracing
and diagnostics.
</Description>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<PackageTags>sqlclient microsoft.data.sqlclient extensions logging</PackageTags>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/dotnet/SqlClient</RepositoryUrl>
<PackageProjectUrl>https://aka.ms/sqlclientproject</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIcon>dotnet.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>
<ItemGroup>
<None Include="$(RepoRoot)/tools/icons/dotnet.png" Pack="true" PackagePath="/" />
<None Include="PackageReadme.md" Pack="true" PackagePath="README.md" />
</ItemGroup>
<!--
Generate ThisAssembly.cs which contains some version information that is
used at runtime and otherwise would not be available.
-->
<PropertyGroup>
<!--
We must specify a unique namespace for ThisAssembly since MDS puts its
ThisAssembly class in the System namespace, and we cannot have two
classes with the same name in the same namespace.
-->
<ThisAssemblyNamespace>$(AssemblyName)</ThisAssemblyNamespace>
</PropertyGroup>
<Import Project="$(ToolsDir)/targets/GenerateThisAssemblyCs.targets" />
</Project>