]> granicus.if.org Git - icinga2/blob - agent/windows-setup-agent/Icinga2SetupAgent.csproj
Improve user experience when updating Icinga 2 with the NSIS installer
[icinga2] / agent / windows-setup-agent / Icinga2SetupAgent.csproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4   <PropertyGroup>
5     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6     <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
7     <ProjectGuid>{A86F1159-66E8-4BDB-BF28-A2BDAF76517C}</ProjectGuid>
8     <OutputType>WinExe</OutputType>
9     <AppDesignerFolder>Properties</AppDesignerFolder>
10     <RootNamespace>Icinga</RootNamespace>
11     <AssemblyName>Icinga2SetupAgent</AssemblyName>
12     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
13     <FileAlignment>512</FileAlignment>
14     <TargetFrameworkProfile />
15     <PublishUrl>publish\</PublishUrl>
16     <Install>true</Install>
17     <InstallFrom>Disk</InstallFrom>
18     <UpdateEnabled>false</UpdateEnabled>
19     <UpdateMode>Foreground</UpdateMode>
20     <UpdateInterval>7</UpdateInterval>
21     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
22     <UpdatePeriodically>false</UpdatePeriodically>
23     <UpdateRequired>false</UpdateRequired>
24     <MapFileExtensions>true</MapFileExtensions>
25     <ApplicationRevision>0</ApplicationRevision>
26     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27     <IsWebBootstrapper>false</IsWebBootstrapper>
28     <UseApplicationTrust>false</UseApplicationTrust>
29     <BootstrapperEnabled>true</BootstrapperEnabled>
30   </PropertyGroup>
31   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
32     <PlatformTarget>x86</PlatformTarget>
33     <DebugSymbols>true</DebugSymbols>
34     <DebugType>full</DebugType>
35     <Optimize>false</Optimize>
36     <OutputPath>bin\Debug\</OutputPath>
37     <DefineConstants>DEBUG;TRACE</DefineConstants>
38     <ErrorReport>prompt</ErrorReport>
39     <WarningLevel>4</WarningLevel>
40   </PropertyGroup>
41   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
42     <PlatformTarget>x86</PlatformTarget>
43     <DebugType>pdbonly</DebugType>
44     <Optimize>true</Optimize>
45     <OutputPath>bin\Release\</OutputPath>
46     <DefineConstants>TRACE</DefineConstants>
47     <ErrorReport>prompt</ErrorReport>
48     <WarningLevel>4</WarningLevel>
49   </PropertyGroup>
50   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'RelWithDebInfo|x86' ">
51     <PlatformTarget>x86</PlatformTarget>
52     <DebugType>pdbonly</DebugType>
53     <Optimize>true</Optimize>
54     <OutputPath>bin\RelWithDebInfo\</OutputPath>
55     <DefineConstants>TRACE</DefineConstants>
56     <ErrorReport>prompt</ErrorReport>
57     <WarningLevel>4</WarningLevel>
58   </PropertyGroup>
59   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MinSizeRel|x86' ">
60     <PlatformTarget>x86</PlatformTarget>
61     <DebugType>pdbonly</DebugType>
62     <Optimize>true</Optimize>
63     <OutputPath>bin\MinSizeRel\</OutputPath>
64     <DefineConstants>TRACE</DefineConstants>
65     <ErrorReport>prompt</ErrorReport>
66     <WarningLevel>4</WarningLevel>
67   </PropertyGroup>
68   <PropertyGroup>
69     <ApplicationIcon>icinga.ico</ApplicationIcon>
70   </PropertyGroup>
71   <PropertyGroup>
72     <ApplicationManifest>app.manifest</ApplicationManifest>
73   </PropertyGroup>
74   <ItemGroup>
75     <Reference Include="System" />
76     <Reference Include="System.Data" />
77     <Reference Include="System.Drawing" />
78     <Reference Include="System.ServiceProcess" />
79     <Reference Include="System.Windows.Forms" />
80     <Reference Include="System.Xml" />
81   </ItemGroup>
82   <ItemGroup>
83     <Compile Include="ServiceStatus.cs">
84       <SubType>Form</SubType>
85     </Compile>
86     <Compile Include="ServiceStatus.Designer.cs">
87       <DependentUpon>ServiceStatus.cs</DependentUpon>
88     </Compile>
89     <Compile Include="SetupWizard.cs">
90       <SubType>Form</SubType>
91     </Compile>
92     <Compile Include="SetupWizard.Designer.cs">
93       <DependentUpon>SetupWizard.cs</DependentUpon>
94     </Compile>
95     <Compile Include="EndpointInputBox.cs">
96       <SubType>Form</SubType>
97     </Compile>
98     <Compile Include="EndpointInputBox.Designer.cs">
99       <DependentUpon>EndpointInputBox.cs</DependentUpon>
100     </Compile>
101     <Compile Include="Program.cs" />
102     <Compile Include="Properties\AssemblyInfo.cs" />
103     <EmbeddedResource Include="ServiceStatus.resx">
104       <DependentUpon>ServiceStatus.cs</DependentUpon>
105     </EmbeddedResource>
106     <EmbeddedResource Include="SetupWizard.resx">
107       <DependentUpon>SetupWizard.cs</DependentUpon>
108     </EmbeddedResource>
109     <EmbeddedResource Include="EndpointInputBox.resx">
110       <DependentUpon>EndpointInputBox.cs</DependentUpon>
111     </EmbeddedResource>
112     <EmbeddedResource Include="Properties\Resources.resx">
113       <Generator>ResXFileCodeGenerator</Generator>
114       <LastGenOutput>Resources.Designer.cs</LastGenOutput>
115       <SubType>Designer</SubType>
116     </EmbeddedResource>
117     <Compile Include="Properties\Resources.Designer.cs">
118       <AutoGen>True</AutoGen>
119       <DependentUpon>Resources.resx</DependentUpon>
120       <DesignTime>True</DesignTime>
121     </Compile>
122     <None Include="app.manifest" />
123     <None Include="Properties\Settings.settings">
124       <Generator>SettingsSingleFileGenerator</Generator>
125       <LastGenOutput>Settings.Designer.cs</LastGenOutput>
126     </None>
127     <Compile Include="Properties\Settings.Designer.cs">
128       <AutoGen>True</AutoGen>
129       <DependentUpon>Settings.settings</DependentUpon>
130       <DesignTimeSharedInput>True</DesignTimeSharedInput>
131     </Compile>
132   </ItemGroup>
133   <ItemGroup>
134     <None Include="App.config" />
135   </ItemGroup>
136   <ItemGroup>
137     <None Include="icinga-banner.png" />
138   </ItemGroup>
139   <ItemGroup>
140     <Content Include="icinga.ico" />
141   </ItemGroup>
142   <ItemGroup>
143     <BootstrapperPackage Include=".NETFramework,Version=v4.5">
144       <Visible>False</Visible>
145       <ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
146       <Install>true</Install>
147     </BootstrapperPackage>
148     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
149       <Visible>False</Visible>
150       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
151       <Install>false</Install>
152     </BootstrapperPackage>
153     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
154       <Visible>False</Visible>
155       <ProductName>.NET Framework 3.5 SP1</ProductName>
156       <Install>false</Install>
157     </BootstrapperPackage>
158   </ItemGroup>
159   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
160   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
161        Other similar extension points exist, see Microsoft.Common.targets.
162   <Target Name="BeforeBuild">
163   </Target>
164   <Target Name="AfterBuild">
165   </Target>
166   -->
167 </Project>