-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathServiceControlInstaller.Engine.csproj
49 lines (40 loc) · 2.12 KB
/
ServiceControlInstaller.Engine.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<!-- Must stay net8.0 to support PowerShell 7.4 LTS -->
<TargetFramework>net8.0-windows</TargetFramework>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\ServiceControl.LicenseManagement\ServiceControl.LicenseManagement.csproj" />
</ItemGroup>
<ItemGroup Label="Needed for build ordering">
<ProjectReference Include="..\ServiceControlInstaller.Packaging\ServiceControlInstaller.Packaging.csproj" ReferenceOutputAssembly="false" Private="false" SkipGetTargetFrameworkProperties="true" UndefineProperties="TargetFramework" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NuGet.Versioning" />
<PackageReference Include="System.DirectoryServices.AccountManagement" />
<PackageReference Include="System.Management" />
<PackageReference Include="System.ServiceProcess.ServiceController" />
</ItemGroup>
<ItemGroup>
<Artifact Include="$(OutputPath)" DestinationFolder="$(PowerShellModuleArtifactsPath)InstallerEngine" />
</ItemGroup>
<Target Name="EmbedInstallerResources" AfterTargets="ResolveProjectReferences">
<ItemGroup>
<Zip Include="..\..\zip\*.zip" />
<Manifest Include="..\..\deploy\**\persistence.manifest" />
<Manifest Include="..\..\deploy\Particular.ServiceControl\Transports\**\transport.manifest" />
<EmbeddedResource Include="@(Zip)" LogicalName="%(Filename)%(Extension)" />
<EmbeddedResource Include="@(Manifest)" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
</Target>
<Target Name="WorkaroundForSqlClientWindowsFormsReference" BeforeTargets="AddTransitiveFrameworkReferences">
<ItemGroup>
<TransitiveFrameworkReference Remove="@(TransitiveFrameworkReference)" Condition="'%(TransitiveFrameworkReference.Identity)' == 'Microsoft.WindowsDesktop.App.WindowsForms'" />
</ItemGroup>
</Target>
<ItemGroup>
<InternalsVisibleTo Include="ServiceControl.Config.Tests" />
<InternalsVisibleTo Include="ServiceControlInstaller.Engine.UnitTests" />
</ItemGroup>
</Project>