aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj')
-rw-r--r--src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj66
1 files changed, 11 insertions, 55 deletions
diff --git a/src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj b/src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
index 69674b90..87b632d7 100644
--- a/src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
+++ b/src/WixToolset.Mba.Host/WixToolset.Mba.Host.csproj
@@ -1,54 +1,26 @@
1<?xml version="1.0" encoding="utf-8"?> 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. --> 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 3
4 4<Project Sdk="Microsoft.NET.Sdk">
5<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
6 <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" />
7 <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" />
8 <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" />
9 <PropertyGroup> 5 <PropertyGroup>
10 <ProjectGuid>{F2BA1935-70FA-4156-B161-FD03850B4FAA}</ProjectGuid>
11 <AssemblyName>WixToolset.Mba.Host</AssemblyName> 6 <AssemblyName>WixToolset.Mba.Host</AssemblyName>
12 <OutputType>Library</OutputType>
13 <RootNamespace>WixToolset.Mba.Host</RootNamespace> 7 <RootNamespace>WixToolset.Mba.Host</RootNamespace>
14 <TargetFrameworkVersion>v2.0</TargetFrameworkVersion> 8 <TargetFrameworks>net20</TargetFrameworks>
15 <Description>Managed Bootstrapper Application entry point</Description> 9 <Description>Managed Bootstrapper Application entry point</Description>
16 <DebugType>embedded</DebugType> 10 <DebugType>embedded</DebugType>
11 <NuspecFile>$(MSBuildThisFileName).nuspec</NuspecFile>
17 </PropertyGroup> 12 </PropertyGroup>
18 <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> 13
19 <DebugSymbols>true</DebugSymbols>
20 <Optimize>false</Optimize>
21 <DefineConstants>$(DefineConstants);DEBUG;TRACE</DefineConstants>
22 </PropertyGroup>
23 <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
24 <DebugSymbols>true</DebugSymbols>
25 <Optimize>true</Optimize>
26 <DefineConstants>$(DefineConstants);TRACE</DefineConstants>
27 </PropertyGroup>
28 <ItemGroup>
29 <Compile Include="BootstrapperApplicationFactory.cs" />
30 <Compile Include="BootstrapperSectionGroup.cs" />
31 <Compile Include="Exceptions.cs" />
32 <Compile Include="HostSection.cs" />
33 <Compile Include="NativeMethods.cs" />
34 <Compile Include="Properties\AssemblyInfo.cs" />
35 <Compile Include="SupportedFrameworkElementCollection.cs" />
36 <Compile Include="SupportedFrameworkElement.cs" />
37 </ItemGroup>
38 <ItemGroup> 14 <ItemGroup>
39 <None Include="WixToolset.Mba.Host.config" /> 15 <None Include="WixToolset.Mba.Host.config" CopyToOutputDirectory="PreserveNewest" />
40 </ItemGroup> 16 </ItemGroup>
41 <ItemGroup> 17 <ItemGroup>
42 <None Include="packages.config" /> 18 <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
19 <PackageReference Include="Nerdbank.GitVersioning" Version="3.3.37" PrivateAssets="All" />
20 <PackageReference Include="WixToolset.Mba.Core" Version="4.0.*" />
43 </ItemGroup> 21 </ItemGroup>
44 <ItemGroup> 22 <ItemGroup>
45 <Reference Include="System" />
46 <Reference Include="System.Configuration" /> 23 <Reference Include="System.Configuration" />
47 <Reference Include="System.Data" />
48 <Reference Include="System.Xml" />
49 <Reference Include="WixToolset.Mba.Core">
50 <HintPath>..\..\packages\WixToolset.Mba.Core.4.0.45\lib\net20\WixToolset.Mba.Core.dll</HintPath>
51 </Reference>
52 </ItemGroup> 24 </ItemGroup>
53 <ItemGroup> 25 <ItemGroup>
54 <HeaderPath Include="$(BaseOutputPath)obj\$(AssemblyName).h"> 26 <HeaderPath Include="$(BaseOutputPath)obj\$(AssemblyName).h">
@@ -56,8 +28,6 @@
56 </HeaderPath> 28 </HeaderPath>
57 </ItemGroup> 29 </ItemGroup>
58 30
59 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
60
61 <Target Name="GenerateIdentityHeader" AfterTargets="Build" Inputs="$(TargetPath)" Outputs="@(HeaderPath)"> 31 <Target Name="GenerateIdentityHeader" AfterTargets="Build" Inputs="$(TargetPath)" Outputs="@(HeaderPath)">
62 <GetAssemblyIdentity AssemblyFiles="$(TargetPath)"> 32 <GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
63 <Output TaskParameter="Assemblies" ItemName="AssemblyIdentity" /> 33 <Output TaskParameter="Assemblies" ItemName="AssemblyIdentity" />
@@ -74,24 +44,10 @@
74 </ItemGroup> 44 </ItemGroup>
75 </Target> 45 </Target>
76 46
77 <Target Name="Pack" DependsOnTargets="GetBuildVersion"> 47 <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion">
78 <Exec Command='nuget pack $(AssemblyName).nuspec -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Configuration=$(Configuration);Id=$(AssemblyName);Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)";Title="$(Title)"' />
79 </Target>
80
81 <Import Project="..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets" Condition="Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" />
82 <Import Project="..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" />
83 <Import Project="..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets" Condition="Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" />
84 <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" />
85 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
86 <PropertyGroup> 48 <PropertyGroup>
87 <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> 49 <NuspecBasePath>$(OutputPath)</NuspecBasePath>
50 <NuspecProperties>Id=$(AssemblyName);Version=$(BuildVersionSimple);Authors=$(Authors);Copyright=$(Copyright);Description=$(Description);RepositoryCommit=$(SourceRevisionId);RepositoryType=$(RepositoryType);RepositoryUrl=$(PrivateRepositoryUrl)</NuspecProperties>
88 </PropertyGroup> 51 </PropertyGroup>
89 <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.props'))" />
90 <Error Condition="!Exists('..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Build.Tasks.Git.1.0.0\build\Microsoft.Build.Tasks.Git.targets'))" />
91 <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.props'))" />
92 <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.Common.1.0.0\build\Microsoft.SourceLink.Common.targets'))" />
93 <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.props'))" />
94 <Error Condition="!Exists('..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.SourceLink.GitHub.1.0.0\build\Microsoft.SourceLink.GitHub.targets'))" />
95 <Error Condition="!Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets'))" />
96 </Target> 52 </Target>
97</Project> \ No newline at end of file 53</Project> \ No newline at end of file