8
8
<NoWarn >$(NoWarn);CA2249</NoWarn >
9
9
<!-- Suppress SYSLIB0004: 'RuntimeHelpers.PrepareConstrainedRegions()' is obsolete to avoid ifdefs. -->
10
10
<NoWarn >$(NoWarn);SYSLIB0004</NoWarn >
11
+ <!-- Suppress CS3016: Arrays as attribute arguments is not CLS-compliant to work around https://github.com/dotnet/roslyn/issues/68526 in generated code -->
12
+ <NoWarn >$(NoWarn);CS3016</NoWarn >
11
13
<UseCompilerGeneratedDocXmlFile >false</UseCompilerGeneratedDocXmlFile >
12
14
<IsPackable >true</IsPackable >
13
15
<PackageDescription >Provides a collection of classes for OLEDB.
@@ -32,36 +34,21 @@ System.Data.OleDb.OleDbTransaction</PackageDescription>
32
34
</PropertyGroup >
33
35
34
36
<ItemGroup Condition =" '$(TargetPlatformIdentifier)' == 'windows'" >
35
- <Compile Include =" $(CommonPath)Interop\Windows\Interop.Libraries.cs"
36
- Link =" Common\Interop\Windows\Interop.Libraries.cs" />
37
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.GetUserDefaultLCID.cs"
38
- Link =" Common\Interop\Windows\Kernel32\Interop.GetUserDefaultLCID.cs" />
39
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.GetCurrentProcessId.cs"
40
- Link =" Common\Interop\Windows\Kernel32\Interop.GetCurrentProcessId.cs" />
41
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.LocalAlloc.cs"
42
- Link =" Common\Interop\Windows\Kernel32\Interop.LocalAlloc.cs" />
43
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.LocalFree.cs"
44
- Link =" Common\Interop\Windows\Kernel32\Interop.LocalFree.cs" />
45
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.Semaphore.cs"
46
- Link =" Common\Interop\Windows\Kernel32\Interop.Semaphore.cs" />
47
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs"
48
- Link =" Common\Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs" />
49
- <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.WaitForMultipleObjects.cs"
50
- Link =" Common\Interop\Windows\Kernel32\Interop.WaitForMultipleObjects.cs" />
51
- <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SysAllocStringLen.cs"
52
- Link =" Common\Interop\Windows\OleAut32\Interop.SysAllocStringLen.cs" />
53
- <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SetErrorInfo.cs"
54
- Link =" Common\Interop\Windows\OleAut32\Interop.SetErrorInfo.cs" />
55
- <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SysFreeString.cs"
56
- Link =" Common\Interop\Windows\OleAut32\Interop.SysFreeString.cs" />
57
- <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.VariantClear.cs"
58
- Link =" Common\Interop\Windows\OleAut32\Interop.VariantClear.cs" />
59
- <Compile Include =" $(CommonPath)Interop\Windows\Ole32\Interop.CoTaskMemAlloc.cs"
60
- Link =" Common\Interop\Windows\Ole32\Interop.CoTaskMemAlloc.cs" />
61
- <Compile Include =" $(CommonPath)Interop\Windows\Ole32\Interop.PropVariantClear.cs"
62
- Link =" Common\Interop\Windows\Ole32\Interop.PropVariantClear.cs" />
63
- <Compile Include =" $(CommonPath)System\Data\Common\MultipartIdentifier.cs"
64
- Link =" Common\System\Data\Common\MultipartIdentifier.cs" />
37
+ <Compile Include =" $(CommonPath)Interop\Windows\Interop.Libraries.cs" Link =" Common\Interop\Windows\Interop.Libraries.cs" />
38
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.GetUserDefaultLCID.cs" Link =" Common\Interop\Windows\Kernel32\Interop.GetUserDefaultLCID.cs" />
39
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.GetCurrentProcessId.cs" Link =" Common\Interop\Windows\Kernel32\Interop.GetCurrentProcessId.cs" />
40
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.LocalAlloc.cs" Link =" Common\Interop\Windows\Kernel32\Interop.LocalAlloc.cs" />
41
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.LocalFree.cs" Link =" Common\Interop\Windows\Kernel32\Interop.LocalFree.cs" />
42
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.Semaphore.cs" Link =" Common\Interop\Windows\Kernel32\Interop.Semaphore.cs" />
43
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs" Link =" Common\Interop\Windows\Kernel32\Interop.WaitForSingleObject.cs" />
44
+ <Compile Include =" $(CommonPath)Interop\Windows\Kernel32\Interop.WaitForMultipleObjects.cs" Link =" Common\Interop\Windows\Kernel32\Interop.WaitForMultipleObjects.cs" />
45
+ <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SysAllocStringLen.cs" Link =" Common\Interop\Windows\OleAut32\Interop.SysAllocStringLen.cs" />
46
+ <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SetErrorInfo.cs" Link =" Common\Interop\Windows\OleAut32\Interop.SetErrorInfo.cs" />
47
+ <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.SysFreeString.cs" Link =" Common\Interop\Windows\OleAut32\Interop.SysFreeString.cs" />
48
+ <Compile Include =" $(CommonPath)Interop\Windows\OleAut32\Interop.VariantClear.cs" Link =" Common\Interop\Windows\OleAut32\Interop.VariantClear.cs" />
49
+ <Compile Include =" $(CommonPath)Interop\Windows\Ole32\Interop.CoTaskMemAlloc.cs" Link =" Common\Interop\Windows\Ole32\Interop.CoTaskMemAlloc.cs" />
50
+ <Compile Include =" $(CommonPath)Interop\Windows\Ole32\Interop.PropVariantClear.cs" Link =" Common\Interop\Windows\Ole32\Interop.PropVariantClear.cs" />
51
+ <Compile Include =" $(CommonPath)System\Data\Common\MultipartIdentifier.cs" Link =" Common\System\Data\Common\MultipartIdentifier.cs" />
65
52
<Compile Include =" AdapterSwitches.cs" />
66
53
<Compile Include =" ColumnBinding.cs" />
67
54
<Compile Include =" DbBindings.cs" />
@@ -136,18 +123,15 @@ System.Data.OleDb.OleDbTransaction</PackageDescription>
136
123
<Compile Include =" System\Data\ProviderBase\DbMetaDataFactory.cs" />
137
124
<Compile Include =" System\Data\ProviderBase\DbReferenceCollection.cs" />
138
125
<Compile Include =" System\Data\ProviderBase\WrappedIUnknown.cs" />
139
- <Compile Include =" $(CommonPath)System\Obsoletions.cs"
140
- Link =" Common\System\Obsoletions.cs" />
126
+ <Compile Include =" $(CommonPath)System\Obsoletions.cs" Link =" Common\System\Obsoletions.cs" />
141
127
</ItemGroup >
142
128
143
129
<ItemGroup Condition =" '$(TargetPlatformIdentifier)' == 'windows'" >
144
130
<Compile Include =" UnsafeNativeMethods.COMWrappers.cs" />
145
- <Compile Include =" OleDbComWrappers.cs" />
146
131
</ItemGroup >
147
132
148
133
<ItemGroup >
149
- <EmbeddedResource Include =" Resources\System.Data.OleDb.OleDbMetaData.xml"
150
- LogicalName =" System.Data.OleDb.OleDbMetaData.xml" />
134
+ <EmbeddedResource Include =" Resources\System.Data.OleDb.OleDbMetaData.xml" LogicalName =" System.Data.OleDb.OleDbMetaData.xml" />
151
135
</ItemGroup >
152
136
153
137
<ItemGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETCoreApp'" >
0 commit comments