aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj')
-rw-r--r--src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj48
1 files changed, 0 insertions, 48 deletions
diff --git a/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj b/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
deleted file mode 100644
index 242c4d14..00000000
--- a/src/ext/Bal/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
+++ /dev/null
@@ -1,48 +0,0 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4<Project Sdk="Microsoft.NET.Sdk">
5 <PropertyGroup>
6 <AssemblyName>WixToolset.Mba.Host</AssemblyName>
7 <RootNamespace>WixToolset.Mba.Host</RootNamespace>
8 <TargetFrameworks>net462</TargetFrameworks>
9 <Description>Managed Bootstrapper Application entry point</Description>
10 <DebugType>embedded</DebugType>
11 <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile>
12 <PlatformTarget>AnyCPU</PlatformTarget>
13 </PropertyGroup>
14
15 <ItemGroup>
16 <None Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" />
17 </ItemGroup>
18
19 <ItemGroup>
20 <Reference Include="System.Configuration" />
21 </ItemGroup>
22
23 <ItemGroup>
24 <PackageReference Include="WixToolset.Mba.Core" />
25 </ItemGroup>
26
27 <ItemGroup>
28 <HeaderPath Include="$(BaseOutputPath)obj\$(AssemblyName).h">
29 <Visible>False</Visible>
30 </HeaderPath>
31 </ItemGroup>
32
33 <Target Name="GenerateIdentityHeader" AfterTargets="Build" Inputs="$(TargetPath)" Outputs="@(HeaderPath)">
34 <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
35 <Output TaskParameter="Assemblies" ItemName="AssemblyIdentity" />
36 </GetAssemblyIdentity>
37 <ItemGroup>
38 <Line Include='#define MBA_ASSEMBLY_FULL_NAME L"%(AssemblyIdentity.Identity)"' />
39 <Line Include='#define MBA_CONFIG_FILE_NAME L"$(AssemblyName).config"' />
40 <Line Include='#define MBA_ENTRY_TYPE L"$(RootNamespace).BootstrapperApplicationFactory"' />
41 </ItemGroup>
42 <Message Importance="normal" Text="Generating identity definitions into @(HeaderPath->'%(FullPath)')" />
43 <WriteLinesToFile File="@(HeaderPath)" Lines="@(Line)" Overwrite="True" />
44 <ItemGroup>
45 <FileWrites Include="@(HeaderPath)" />
46 </ItemGroup>
47 </Target>
48</Project>