Welcome to mirror list, hosted at ThFree Co, Russian Federation.

System.Diagnostics.EventLog.csproj « src « System.Diagnostics.EventLog « libraries « src - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dfae87cc90a726583cc381223e8cb67c0c4d0b70 (plain)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent);$(NetCoreAppMinimum)-windows;$(NetCoreAppMinimum);netstandard2.0;$(NetFrameworkMinimum)</TargetFrameworks>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <NoWarn>$(NoWarn);CA1847</NoWarn>
    <!-- Suppressions to avoid ifdefs:
            CA1845: Use span-based 'string.Concat' and 'AsSpan' instead of 'Substring'
            CA1846: Prefer 'AsSpan' over 'Substring' when span-based overloads are available -->
    <NoWarn>$(NoWarn);CA1845;CA1846</NoWarn>
    <Nullable>annotations</Nullable>
    <IsPackable>true</IsPackable>
    <PackageDescription>Provides the System.Diagnostics.EventLog class, which allows the applications to use the windows event log service.

Commonly Used Types:
System.Diagnostics.EventLog</PackageDescription>
  </PropertyGroup>

  <!-- DesignTimeBuild requires all the TargetFramework Derived Properties to not be present in the first property group. -->
  <PropertyGroup>
    <TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</TargetPlatformIdentifier>
    <IsPartialFacadeAssembly Condition="$([MSBuild]::GetTargetFrameworkIdentifier('$(TargetFramework)')) == '.NETFramework'">true</IsPartialFacadeAssembly>
    <GeneratePlatformNotSupportedAssemblyMessage Condition="'$(IsPartialFacadeAssembly)' != 'true' and '$(TargetPlatformIdentifier)' != 'windows'">SR.PlatformNotSupported_EventLog</GeneratePlatformNotSupportedAssemblyMessage>
  </PropertyGroup>

  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'">
    <Compile Include="System\Diagnostics\EntryWrittenEventArgs.cs" />
    <Compile Include="System\Diagnostics\EntryWrittenEventHandler.cs" />
    <Compile Include="System\Diagnostics\EventData.cs" />
    <Compile Include="System\Diagnostics\EventLog.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="System\Diagnostics\EventLogEntry.cs">
      <SubType>Component</SubType>
    </Compile>
    <Compile Include="System\Diagnostics\Reader\CoTaskMemSafeHandle.cs" />
    <Compile Include="System\Diagnostics\Reader\CoTaskMemUnicodeSafeHandle.cs" />
    <Compile Include="System\Diagnostics\Reader\EventBookmark.cs" />
    <Compile Include="System\Diagnostics\Reader\EventKeyword.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLevel.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogConfiguration.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogException.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogHandle.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogInformation.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogLink.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogPropertySelector.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogQuery.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogReader.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogRecord.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogSession.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogStatus.cs" />
    <Compile Include="System\Diagnostics\Reader\EventLogWatcher.cs" />
    <Compile Include="System\Diagnostics\Reader\EventMetadata.cs" />
    <Compile Include="System\Diagnostics\Reader\EventOpcode.cs" />
    <Compile Include="System\Diagnostics\Reader\EventProperty.cs" />
    <Compile Include="System\Diagnostics\Reader\EventRecord.cs" />
    <Compile Include="System\Diagnostics\Reader\EventRecordWrittenEventArgs.cs" />
    <Compile Include="System\Diagnostics\Reader\EventTask.cs" />
    <Compile Include="System\Diagnostics\Reader\NativeWrapper.cs" />
    <Compile Include="System\Diagnostics\Reader\ProviderMetadata.cs" />
    <Compile Include="System\Diagnostics\Reader\ProviderMetadataCachedInformation.cs" />
    <Compile Include="System\Diagnostics\Reader\Winmeta.cs" />
    <Compile Include="System\Diagnostics\Reader\UnsafeNativeMethods.cs" />
    <Compile Include="System\Diagnostics\EventLogEntryCollection.cs" />
    <Compile Include="System\Diagnostics\EventLogEntryType.cs" />
    <Compile Include="System\Diagnostics\EventLogInternal.cs" />
    <Compile Include="System\Diagnostics\EventSourceCreationData.cs" />
    <Compile Include="System\Diagnostics\EventLogTraceListener.cs" />
    <Compile Include="System\Diagnostics\OverflowAction.cs" />
    <Compile Include="System\Diagnostics\SafeEventLogReadHandle.cs" />
    <Compile Include="System\Diagnostics\SafeEventLogWriteHandle.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.CloseHandle.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.CloseHandle.cs" />
    <Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs"
             Link="Common\Microsoft\Win32\SafeHandles\SafeLibraryHandle.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.ClearEventLog.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.ClearEventLog.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.CloseEventLog.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.CloseEventLog.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.DeregisterEventSource.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.DeregisterEventSource.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.GetNumberOfEventLogRecords.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.GetNumberOfEventLogRecords.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.GetOldestEventLogRecord.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.GetOldestEventLogRecord.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.LookupAccountSid.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.LookupAccountSid.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.NotifyChangeEventLog.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.NotifyChangeEventLog.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.OpenEventLog.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.OpenEventLog.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.ReadEventLog.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.ReadEventLog.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.RegisterEventSource.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.RegisterEventSource.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Advapi32\Interop.ReportEvent.cs"
             Link="Common\Interop\Windows\Advapi32\Interop.ReportEvent.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.Constants.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.Constants.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FormatMessage_SafeLibraryHandle.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.FormatMessage_SafeLibraryHandle.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.FreeLibrary.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.FreeLibrary.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.LoadLibraryEx.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.LoadLibraryEx.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs"
             Link="Common\Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Interop.Errors.cs"
             Link="Common\Interop\Windows\Interop.Errors.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Interop.Libraries.cs"
             Link="Common\Interop\Windows\Interop.Libraries.cs" />
    <Compile Include="$(CommonPath)System\Diagnostics\NetFrameworkUtils.cs"
             Link="Common\System\Diagnostics\NetFrameworkUtils.cs" />
    <Compile Include="$(CommonPath)Interop\Windows\Interop.HRESULT_FROM_WIN32.cs"
             Link="Common\Interop\Windows\Interop.HRESULT_FROM_WIN32.cs" />
  </ItemGroup>

  <ItemGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">
    <Compile Include="$(CommonPath)DisableRuntimeMarshalling.cs"
             Link="Common\DisableRuntimeMarshalling.cs" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
    <Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttribute.cs" />
    <Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\DynamicallyAccessedMemberTypes.cs" />
    <Compile Include="$(CoreLibSharedDir)System\Diagnostics\CodeAnalysis\UnconditionalSuppressMessageAttribute.cs" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETCoreApp'">
    <PackageReference Include="System.Security.Principal.Windows" Version="$(SystemSecurityPrincipalWindowsVersion)" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'windows'">
    <ProjectReference Include="Messages\System.Diagnostics.EventLog.Messages.csproj"
                      ReferenceOutputAssembly="false"
                      OutputItemType="TfmRuntimeSpecificPackageFile"
                      PrivateAssets="true" />
  </ItemGroup>
</Project>