forked from fsprojects/FSharp.Data.SqlClient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSqlClient.DesignTime.fsproj
More file actions
97 lines (93 loc) · 4.97 KB
/
SqlClient.DesignTime.fsproj
File metadata and controls
97 lines (93 loc) · 4.97 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
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\netfx.props" />
<PropertyGroup>
<TargetFrameworks>net461;netstandard2.0;net8.0</TargetFrameworks>
<AssemblyName>FSharp.Data.SqlClient.DesignTime</AssemblyName>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<NoWarn>$(NoWarn);101</NoWarn>
<!--
note: TypeProvider SDK comes with few warnings
FS0026: This rule will never be matched
FS3218: The argument names in the signature 'measure' and implementation 'm' do not match. The argument name from the signature file will be used. This may cause problems when debugging or profiling.
FS3548: Pattern discard is not allowed for union case that takes no data.
-->
<WarningsNotAsErrors>$(WarningsNotAsErrors);FS0026;FS3218;FS3548</WarningsNotAsErrors>
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
<DisableImplicitSystemValueTupleReference>true</DisableImplicitSystemValueTupleReference>
<DefineConstants>$(DefineConstants);DESIGNTIME_CODE_ONLY;WITH_LEGACY_NAMESPACE</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="FSharp.Core" Version="4.1.18" Condition="'$(TargetFramework)' == 'net40'" />
<PackageReference Include="FSharp.Core" Version="4.3.4" Condition="'$(TargetFramework)' == 'net461'" />
<!--<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" Condition="'$(TargetFramework)' == 'net461'" />
<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="14.0.3811.1" />
<PackageReference Include="Microsoft.SqlServer.Types" Version="12.0.5000" />
<PackageReference Include="System.Data.SqlClient" Version="4.5.1" Condition="'$(TargetFramework)' == 'net461'" />
<PackageReference Include="System.Data.SqlClient" Version="4.5.1" Condition="'$(TargetFramework)' == 'netstandard'" />
-->
</ItemGroup>
<!--<ItemGroup Condition="$(TargetFramework) == 'net40'">
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<Reference Include="System.IdentityModel" />
<Reference Include="System.Runtime.Caching" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Transactions" />
<Reference Include="System.Xml" />
</ItemGroup>-->
<ItemGroup Condition="$(TargetFramework) == 'net461'">
<Reference Include="System.Data" />
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
<Compile Include="..\..\paket-files\fsprojects\FSharp.TypeProviders.SDK\src\ProvidedTypes.fsi">
<Link>ProvidedTypes.fsi</Link>
</Compile>
<Compile Include="..\..\paket-files\fsprojects\FSharp.TypeProviders.SDK\src\ProvidedTypes.fs">
<Link>ProvidedTypes.fs</Link>
</Compile>
<Compile Include="../SqlClient/Extensions.fs" />
<Compile Include="../SqlClient/Shared.fs" />
<Compile Include="../SqlClient/Configuration.fs" />
<Compile Include="../SqlClient/DataTable.fs" />
<Compile Include="../SqlClient/DynamicRecord.fs" />
<Compile Include="../SqlClient/ISqlCommand.fs" />
<Compile Include="../SqlClient/Runtime.fs" />
<Compile Include="DesignTimeConnectionString.fs" />
<Compile Include="ProvidedTypesCache.fs" />
<Compile Include="SqlClientExtensions.fs" />
<Compile Include="QuotationsFactory.fs" />
<Compile Include="DesignTime.fs" />
<Compile Include="SingleFileChangeMonitor.fs" />
<Compile Include="SingleRootTypeProvider.fs" />
<Compile Include="SqlClientProvider.fs" />
<Compile Include="SqlCommandProvider.fs" />
<Compile Include="SqlEnumProvider.fs" />
<Compile Include="SqlFileProvider.fs" />
<Content Include="paket.references" />
<None Include="Scripts\Scratchpad.fsx" />
<None Include="Scripts\ReverseLineOrderForNotex.fsx" />
<None Include="Scripts\XE.fsx" />
</ItemGroup>
<Target Name="CopyAssembliesToTPFolder" AfterTargets="Build">
<ItemGroup>
<DesignTimeAssemblies Include="$(OutputPath)\FSharp.Data.SqlClient.DesignTime.*" />
<DesignTimeAssemblies Include="$(OutputPath)\Microsoft.SqlServer.*.dll" />
</ItemGroup>
<Copy SourceFiles="@(DesignTimeAssemblies)" DestinationFolder="..\..\bin\typeproviders\fsharp41\$(TargetFramework)" />
</Target>
<Target Name="CopyAssembliesToLegacyFolder" AfterTargets="Build" Condition="$(TargetFramework) == 'net40'">
<ItemGroup>
<DesignTimeAssemblies Include="$(OutputPath)\FSharp.Data.SqlClient.DesignTime.*" />
<DesignTimeAssemblies Include="$(OutputPath)\Microsoft.SqlServer.*.dll" />
</ItemGroup>
<Copy SourceFiles="@(DesignTimeAssemblies)" DestinationFolder="..\..\bin\$(TargetFramework)" />
</Target>
<Import Project="..\..\.paket\Paket.Restore.targets" />
</Project>