-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDbaClientX.PowerShell.csproj
More file actions
94 lines (87 loc) · 4.6 KB
/
Copy pathDbaClientX.PowerShell.csproj
File metadata and controls
94 lines (87 loc) · 4.6 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition=" '$([MSBuild]::IsOsPlatform(`Windows`))' ">
net472;net8.0
</TargetFrameworks>
<TargetFrameworks Condition=" '$([MSBuild]::IsOsPlatform(`OSX`))' Or '$([MSBuild]::IsOsPlatform(`Linux`))' ">
net8.0
</TargetFrameworks>
<Description>PowerShell Module for working with databases</Description>
<AssemblyName>DBAClientX.PowerShell</AssemblyName>
<AssemblyTitle>DBAClientX.PowerShell</AssemblyTitle>
<VersionPrefix>0.1.0</VersionPrefix>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<Company>Evotec</Company>
<Authors>Przemyslaw Klys</Authors>
<LangVersion>latest</LangVersion>
<DefineConstants>$(DefineConstants);DBACLIENTX_POWERSHELL</DefineConstants>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PowerShellStandard.Library" PrivateAssets="all" />
<PackageReference Include="Microsoft.Data.SqlClient" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
<PackageReference Include="System.Formats.Asn1" />
<PackageReference Include="System.Text.Json" />
<Reference Include="System.Net.Http" />
</ItemGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net472'">
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\DbaClientX.Core\DbaClientX.Core.csproj" />
<ProjectReference Include="..\DbaClientX.AzureTables\DbaClientX.AzureTables.csproj" />
<ProjectReference Include="..\DbaClientX.SqlServer\DbaClientX.SqlServer.csproj" />
<ProjectReference Include="..\DbaClientX.SQLite\DbaClientX.SQLite.csproj" />
<ProjectReference Include="..\DbaClientX.MySql\DbaClientX.MySql.csproj" />
<ProjectReference Include="..\DbaClientX.PostgreSql\DbaClientX.PostgreSql.csproj" />
<ProjectReference Include="..\DbaClientX.Oracle\DbaClientX.Oracle.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\PowerShell.Shared\AsyncPSCmdlet.cs" Link="Communication\AsyncPSCmdlet.cs" />
<Compile Include="..\PowerShell.Shared\AsyncPSCmdlet.Execution.cs" Link="Communication\AsyncPSCmdlet.Execution.cs" />
<Compile Include="..\PowerShell.Shared\AsyncPSCmdlet.Pipeline.cs" Link="Communication\AsyncPSCmdlet.Pipeline.cs" />
</ItemGroup>
<ItemGroup>
<Compile Update="CmdletInvokeDbaXMySqlScalar.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Using Include="System.Collections" />
<Using Include="System.Management.Automation" />
<Using Include="System.Threading.Tasks" />
<Using Include="System.Collections.Concurrent" />
<Using Include="System.Threading" />
<Using Include="System" />
<Using Include="System.Collections.Generic" />
<Using Include="System.Linq" />
<Using Include="System.Text" />
<Using Include="System.IO" />
<Using Include="System.Net" />
<Using Include="System.Data" />
</ItemGroup>
<!-- Make sure the output DLL's from library are included in the output -->
<PropertyGroup>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<!-- We need to remove PowerShell conflicting libraries as it will break output -->
<Target Name="RemoveFilesAfterBuild" AfterTargets="Build">
<Delete Files="$(OutDir)System.Management.Automation.dll" />
<Delete Files="$(OutDir)System.Management.dll" />
</Target>
<PropertyGroup>
<!-- This is needed for XmlDoc2CmdletDoc to generate a PowerShell documentation file. -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Fail the build if documentation is missing. -->
<XmlDoc2CmdletDocArguments>-strict</XmlDoc2CmdletDocArguments>
</PropertyGroup>
<ItemGroup>
<!-- This is needed for XmlDoc2CmdletDoc to generate a PowerShell documentation file. -->
<PackageReference Include="MatejKafka.XmlDoc2CmdletDoc">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
</Project>